feat: complete Phase 0 Enterprise IAM
This commit is contained in:
1 parent
3d2d291006
commit
c2f5ba3f54
202 files changed
+21371
-1360
No files matched your search
@@ -0,0 +1,19 @@
|
||||
import re
|
||||
|
||||
path = 'tests/security_test.rs'
|
||||
with open(path, 'r') as f:
|
||||
content = f.read()
|
||||
|
||||
content = content.replace(
|
||||
''' let expected = serde_json::json!({
|
||||
"error": "invalid credentials",
|
||||
"code": "unauthorized"
|
||||
});''',
|
||||
''' let expected = serde_json::json!({
|
||||
"error": "Invalid username or password.",
|
||||
"code": "invalid_credentials"
|
||||
});'''
|
||||
)
|
||||
|
||||
with open(path, 'w') as f:
|
||||
f.write(content)
|
||||
Reference in new issue
Block a user