mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 18:21: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
@@ -180,10 +180,10 @@ public class CoverArtArchiveHttpClientTests
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData("https://evil.example/index.json")] // an unrelated public host
|
||||
[InlineData("https://localhost/index.json")] // the loopback host name
|
||||
[InlineData("https://127.0.0.1/index.json")] // the IPv4 loopback address
|
||||
[InlineData("https://169.254.169.254/latest/meta-data/")] // the link local cloud metadata endpoint
|
||||
[InlineData("https://evil.example/index.json")] // An unrelated public host.
|
||||
[InlineData("https://localhost/index.json")] // The loopback host name.
|
||||
[InlineData("https://127.0.0.1/index.json")] // The IPv4 loopback address.
|
||||
[InlineData("https://169.254.169.254/latest/meta-data/")] // The link local cloud metadata endpoint.
|
||||
public async Task GetReleaseArtworkAsync_WhenTheRedirectPointsAtADisallowedHost_ShouldThrow(string location)
|
||||
{
|
||||
// Arrange
|
||||
|
||||
Reference in new issue
Block a user