Replaced a test key which looked like a real Google API key (#1230)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-25 11:23:25 +01:00
1 parent 99f7e236f4
commit 00e53f5a8a
1 file changed
+1 -1
@@ -31,7 +31,7 @@ public sealed class APIKeyValidationTests
private static readonly string DECOMPOSED_CAPITAL_U_UMLAUT = $"U{COMBINING_DIAERESIS}"; private static readonly string DECOMPOSED_CAPITAL_U_UMLAUT = $"U{COMBINING_DIAERESIS}";
[TestCase("sk-proj-AbC_123.xyz~")] [TestCase("sk-proj-AbC_123.xyz~")]
[TestCase("AIzaSyD-9tSrke72PouQMnMX-a7eZSW0jkFMBWY")] [TestCase("test-key_AbC-123_xyz-789")]
[TestCase("dGhpcyBpcyBhIGtleQ+/==")] [TestCase("dGhpcyBpcyBhIGtleQ+/==")]
[TestCase("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~")] [TestCase("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~")]
public void KeysOfPrintableAsciiPass(string key) => Assert.That(APIKeyValidation.Check(key), Is.EqualTo(APIKeyIssue.NONE)); public void KeysOfPrintableAsciiPass(string key) => Assert.That(APIKeyValidation.Check(key), Is.EqualTo(APIKeyIssue.NONE));