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:
BinaryAlley committed 2026-11-16 18:17:29 +02:00
1 parent 727aa33318
commit 057f557791
540 files changed
+3888 -3888

No files matched your search

@@ -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,