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
+3
-3
@@ -38,10 +38,10 @@ public class UserMappingTests
|
||||
|
||||
// Assert
|
||||
Assert.NotNull(result);
|
||||
Assert.Same(repositoryEntity, result); // should modify the same instance
|
||||
Assert.Equal(domainEntity.Username, result.Username); // only username should be updated
|
||||
Assert.Same(repositoryEntity, result); // Should modify the same instance.
|
||||
Assert.Equal(domainEntity.Username, result.Username); // Only username should be updated.
|
||||
|
||||
// verify other properties remain unchanged
|
||||
// Verify other properties remain unchanged.
|
||||
Assert.Equal(repositoryEntity.Id, result.Id);
|
||||
Assert.Equal(repositoryEntity.Password, result.Password);
|
||||
Assert.Equal(repositoryEntity.TotpSecret, result.TotpSecret);
|
||||
|
||||
Reference in new issue
Block a user