add test files for auth middleware
This commit is contained in:
5
api/_testdata/config.json
Normal file
5
api/_testdata/config.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"authKeys": [
|
||||
"existingkey"
|
||||
]
|
||||
}
|
||||
14
api/_testdata/servers/existingserver.json
Normal file
14
api/_testdata/servers/existingserver.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"uuid": "existingserver",
|
||||
"keys": {
|
||||
"existinggkey": [
|
||||
"g:*"
|
||||
],
|
||||
"existingspecificskey": [
|
||||
"s:test"
|
||||
],
|
||||
"existingglobalskey": [
|
||||
"s:*"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user