From b298a51b8e4a75513580578b529aa7bbf45bd0ed Mon Sep 17 00:00:00 2001 From: "nicolas.barbosa" Date: Sat, 25 May 2024 20:27:42 +0200 Subject: [PATCH] Correction de code smell tests --- Sources/UnitTesting/StubUT.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/UnitTesting/StubUT.cs b/Sources/UnitTesting/StubUT.cs index bfdcea5..8fe5f4a 100644 --- a/Sources/UnitTesting/StubUT.cs +++ b/Sources/UnitTesting/StubUT.cs @@ -14,7 +14,7 @@ namespace UnitTesting [Fact] public void EnregistrerTest() { - new Stub().Enregistrer([]); + Assert.Null(Record.Exception(() => new Stub().Enregistrer([]))); } }