Bugfixes (#2349)
Co-authored-by: Alex Tan <8013458+senpai-notices@users.noreply.github.com>
This commit is contained in:
parent
b753b15f8f
commit
d8c52b80e0
12 changed files with 164 additions and 71 deletions
|
@ -119,9 +119,10 @@ public class CollectionTagServiceTests : AbstractDbTest
|
|||
public async Task GetTagOrCreate_ShouldReturnExistingTag()
|
||||
{
|
||||
await SeedSeries();
|
||||
var tag = await _service.GetTagOrCreate(1, string.Empty);
|
||||
var tag = await _service.GetTagOrCreate(1, "Some new tag");
|
||||
Assert.NotNull(tag);
|
||||
Assert.Equal(1, tag.Id);
|
||||
Assert.Equal("Tag 1", tag.Title);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue