mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 16:11:10 +00:00
Formats code comments as sentences in the tests.
Capitalizes the first word and adds the terminal period in the unit, integration and security tests. The AAA markers stay bare, the TODO bodies stay lowercase, and no assertion, payload, expected status code or test signature changes.
This commit is contained in:
1 parent
727aa33318
commit
057f557791
540 files changed
+3888
-3888
No files matched your search
+2
-2
@@ -212,7 +212,7 @@ public class UnitOfWorkTests
|
||||
Result<Success> firstSaveResult = await sut.SaveChangesAsync(CancellationToken.None);
|
||||
Assert.False(firstSaveResult.IsFailure);
|
||||
|
||||
// stage a second book with the same library and path directly, bypassing the application level pre-check, so that the unique index of the storage medium is the one that rejects it
|
||||
// Stage a second book with the same library and path directly, bypassing the application level pre-check, so that the unique index of the storage medium is the one that rejects it.
|
||||
BookEntity secondBook = _bookEntityFixture.Create();
|
||||
secondBook.LibraryId = libraryId;
|
||||
secondBook.Path = "/books/duplicate.epub";
|
||||
@@ -275,7 +275,7 @@ public class UnitOfWorkTests
|
||||
Result<Success> firstSaveResult = await sut.SaveChangesAsync(CancellationToken.None);
|
||||
Assert.False(firstSaveResult.IsFailure);
|
||||
|
||||
// stage a duplicate directly through the repository, bypassing the application level existence check, so that the unique index of the storage medium is the one that rejects it
|
||||
// Stage a duplicate directly through the repository, bypassing the application level existence check, so that the unique index of the storage medium is the one that rejects it.
|
||||
FavoriteEntity duplicateFavorite = _favoriteEntityFixture.Create(
|
||||
userId: userId,
|
||||
mediaKind: FavoriteMediaKind.MusicArtist,
|
||||
|
||||
Reference in new issue
Block a user