Remove the invalid characters OPA policy tests

This commit is contained in:
Quentin Gliech
2024-05-03 16:56:56 +02:00
parent 24021cc984
commit 3ea24dc8e5
-16
View File
@@ -60,22 +60,6 @@ test_device_scopes {
with input.grant_type as "authorization_code"
with input.scope as "urn:matrix:org.matrix.msc2967.client:device:AAbbCCdd01-asdasdsa1-2313"
# Invalid characters
not allow with input.user as user
with input.client as client
with input.grant_type as "authorization_code"
with input.scope as "urn:matrix:org.matrix.msc2967.client:device:AABB:CCDDEE"
not allow with input.user as user
with input.client as client
with input.grant_type as "authorization_code"
with input.scope as "urn:matrix:org.matrix.msc2967.client:device:AABB*CCDDEE"
not allow with input.user as user
with input.client as client
with input.grant_type as "authorization_code"
with input.scope as "urn:matrix:org.matrix.msc2967.client:device:AABB!CCDDEE"
# Too short
not allow with input.user as user
with input.client as client