mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 01: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
+5
-5
@@ -98,11 +98,11 @@ public class OpenLibrarySettingsLoaderTests
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData("user\r\n@example.com")] // carriage return and line feed injection
|
||||
[InlineData("user@example.com\r\nX-Injected: value")] // header injection attempt
|
||||
[InlineData("user(comment)@example.com")] // parentheses break the from header
|
||||
[InlineData("user\"quoted\"@example.com")] // quotes break the header value
|
||||
[InlineData("user example@example.com")] // an inner space is not a valid token character
|
||||
[InlineData("user\r\n@example.com")] // Carriage return and line feed injection.
|
||||
[InlineData("user@example.com\r\nX-Injected: value")] // Header injection attempt.
|
||||
[InlineData("user(comment)@example.com")] // Parentheses break the from header.
|
||||
[InlineData("user\"quoted\"@example.com")] // Quotes break the header value.
|
||||
[InlineData("user example@example.com")] // An inner space is not a valid token character.
|
||||
public void Apply_WhenContactEmailContainsUnsafeCharacters_ShouldSetItToNull(string storedEmail)
|
||||
{
|
||||
// Arrange
|
||||
|
||||
Reference in new issue
Block a user