mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 13: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
+10
-10
@@ -160,12 +160,12 @@ public class SetupApplicationCommandValidatorTests
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData("password123")] // Missing uppercase and special character
|
||||
[InlineData("PASSWORD123")] // Missing special character
|
||||
[InlineData("Password123")] // Missing special character
|
||||
[InlineData("Password!@#")] // Missing number
|
||||
[InlineData("Pass1!")] // Too short
|
||||
[InlineData("password")] // Missing uppercase, number, and special character
|
||||
[InlineData("password123")] // Missing uppercase and special character.
|
||||
[InlineData("PASSWORD123")] // Missing special character.
|
||||
[InlineData("Password123")] // Missing special character.
|
||||
[InlineData("Password!@#")] // Missing number.
|
||||
[InlineData("Pass1!")] // Too short.
|
||||
[InlineData("password")] // Missing uppercase, number, and special character.
|
||||
public void Validate_WhenPasswordDoesNotMatchPattern_ShouldHaveValidationError(string password)
|
||||
{
|
||||
// Arrange
|
||||
@@ -180,10 +180,10 @@ public class SetupApplicationCommandValidatorTests
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData("Password1!")] // Valid password
|
||||
[InlineData("Complex1@Password")] // Valid password
|
||||
[InlineData("MyP@ssw0rd")] // Valid password
|
||||
[InlineData("Abcd123!@#")] // Valid password
|
||||
[InlineData("Password1!")] // Valid password.
|
||||
[InlineData("Complex1@Password")] // Valid password.
|
||||
[InlineData("MyP@ssw0rd")] // Valid password.
|
||||
[InlineData("Abcd123!@#")] // Valid password.
|
||||
public void Validate_WhenPasswordMatchesPattern_ShouldNotHaveValidationError(string password)
|
||||
{
|
||||
// Arrange
|
||||
|
||||
Reference in new issue
Block a user