master
Marc CHEVALDONNE 1 year ago
parent 680451fd01
commit ae9cc2e9fb

@ -1,4 +1,3 @@
using System.ComponentModel;
using Model; using Model;
public class MockEmailService : IEmailService public class MockEmailService : IEmailService

@ -34,7 +34,7 @@ public class UnitTests
//execute the method to test //execute the method to test
bool result = await mgr.AddNewNounours(nounours); bool result = await mgr.AddNewNounours(nounours);
//assert the interactions went correctly //assert the result is correct
Assert.True(result); Assert.True(result);
} }
@ -72,7 +72,7 @@ public class UnitTests
//execute the method to test //execute the method to test
bool result = await mgr.AddNewNounours(nounours); bool result = await mgr.AddNewNounours(nounours);
//assert the interactions went correctly //assert the result is correct
Assert.False(result); Assert.False(result);
} }
@ -110,7 +110,7 @@ public class UnitTests
//execute the method to test //execute the method to test
bool result = await mgr.AddNewNounours(nounours); bool result = await mgr.AddNewNounours(nounours);
//assert the interactions went correctly //assert the result is correct
Assert.False(result); Assert.False(result);
} }

Loading…
Cancel
Save