mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 12: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
+4
-4
@@ -64,10 +64,10 @@ public class DeleteConsumptionItemHistoryRequestTests
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData("None")] // None is not a valid media kind for a consumption record
|
||||
[InlineData("999")] // a numeric value that is not a member name
|
||||
[InlineData("not-a-media-kind")] // a textual value that is not a member name
|
||||
[InlineData("")] // an empty media kind
|
||||
[InlineData("None")] // None is not a valid media kind for a consumption record.
|
||||
[InlineData("999")] // A numeric value that is not a member name.
|
||||
[InlineData("not-a-media-kind")] // A textual value that is not a member name.
|
||||
[InlineData("")] // An empty media kind.
|
||||
public void Constructor_WhenMediaKindIsInvalid_ShouldPreserveItForTheValidator(string mediaKind)
|
||||
{
|
||||
// Act
|
||||
|
||||
+5
-5
@@ -122,9 +122,9 @@ public class GetGenreConsumptionRequestTests
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData("999")] // a numeric value that is not a member name
|
||||
[InlineData("not-a-media-kind")] // a textual value that is not a member name
|
||||
[InlineData("")] // an empty media kind
|
||||
[InlineData("999")] // A numeric value that is not a member name.
|
||||
[InlineData("not-a-media-kind")] // A textual value that is not a member name.
|
||||
[InlineData("")] // An empty media kind.
|
||||
public void Constructor_WhenMediaKindIsInvalid_ShouldPreserveItForTheValidator(string mediaKind)
|
||||
{
|
||||
// Act
|
||||
@@ -152,8 +152,8 @@ public class GetGenreConsumptionRequestTests
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData("not-a-date")] // a textual value that is not a date
|
||||
[InlineData("2026-13-45T99:99:99")] // a value with out of range components
|
||||
[InlineData("not-a-date")] // A textual value that is not a date.
|
||||
[InlineData("2026-13-45T99:99:99")] // A value with out of range components.
|
||||
public void Constructor_WhenDateBoundsAreMalformed_ShouldPreserveThemForTheValidator(string malformedBound)
|
||||
{
|
||||
// Act
|
||||
|
||||
Reference in new issue
Block a user