mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-25 11:53:48 +00:00
Replaced a test key which looked like a real Google API key (#1230)
This commit is contained in:
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}";
|
||||
|
||||
[TestCase("sk-proj-AbC_123.xyz~")]
|
||||
[TestCase("AIzaSyD-9tSrke72PouQMnMX-a7eZSW0jkFMBWY")]
|
||||
[TestCase("test-key_AbC-123_xyz-789")]
|
||||
[TestCase("dGhpcyBpcyBhIGtleQ+/==")]
|
||||
[TestCase("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~")]
|
||||
public void KeysOfPrintableAsciiPass(string key) => Assert.That(APIKeyValidation.Check(key), Is.EqualTo(APIKeyIssue.NONE));
|
||||
|
||||
Reference in new issue
Block a user