fix change Exception to test
continuous-integration/drone/push Build is passing Details

pull/15/head
Matheo THIERRY 2 years ago
parent 2eb4330263
commit 975b5fbde7

@ -155,7 +155,7 @@ namespace UnitTests_Model
{
Theme theme = new Theme("Theme1", ",,,".Split().ToList());
database.ThemeList.Add(theme);
Assert.Throws<AlreadyUsedException>(() => database.AddTheme(theme));
Assert.Throws<AlreadyExistException>(() => database.AddTheme(theme));
}
// GetTheme tests

Loading…
Cancel
Save