mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 13:11:10 +00:00
Aligns the test fixture field names with their types and tidies the remaining tests
This commit is contained in:
1 parent
95e771191e
commit
a514335a10
99 files changed
+1523
-1499
No files matched your search
+2
-2
@@ -13,7 +13,7 @@ namespace Lumina.Contracts.UnitTests.DTO.MediaLibrary.WrittenContentLibrary.Book
|
||||
[ExcludeFromCodeCoverage]
|
||||
public class ReadingResourceDataDtoTests
|
||||
{
|
||||
private readonly ReadingResourceDataDtoFixture _fixture = new();
|
||||
private readonly ReadingResourceDataDtoFixture _readingResourceDataDtoFixture = new();
|
||||
|
||||
[Fact]
|
||||
public void Create_WhenProvidedData_ShouldPreserveIt()
|
||||
@@ -22,7 +22,7 @@ public class ReadingResourceDataDtoTests
|
||||
byte[] data = Guid.NewGuid().ToByteArray();
|
||||
|
||||
// Act
|
||||
ReadingResourceDataDto sut = _fixture.Create(data: data);
|
||||
ReadingResourceDataDto sut = _readingResourceDataDtoFixture.Create(data: data);
|
||||
|
||||
// Assert
|
||||
Assert.Equal(data, sut.Data);
|
||||
|
||||
Reference in new issue
Block a user