mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix a test
This commit is contained in:
parent
10b291b4aa
commit
8ac5f02d93
@ -214,12 +214,10 @@ namespace Kyoo.Tests.Database
|
||||
Show newValue = new()
|
||||
{
|
||||
ID = value.ID,
|
||||
Slug = "reset",
|
||||
Title = "Reset"
|
||||
};
|
||||
|
||||
await Assert.ThrowsAsync<ArgumentException>(() => _repository.Edit(newValue, true));
|
||||
|
||||
newValue.Slug = "reset";
|
||||
Show edited = await _repository.Edit(newValue, true);
|
||||
|
||||
Assert.Equal(value.ID, edited.ID);
|
||||
|
Loading…
x
Reference in New Issue
Block a user