Add an auth test case I forgot about

This commit is contained in:
Daniel Krol 2022-06-22 11:04:26 -04:00
parent e0f847a381
commit 52ef7ba8c1

View file

@ -48,4 +48,8 @@ func TestAuthScopeInvalid(t *testing.T) {
if bananaAuthToken.ScopeValid("*") {
t.Fatalf("Expected banana to be an invalid scope for *")
}
if bananaAuthToken.ScopeValid("carrot") {
t.Fatalf("Expected banana to be an invalid scope for carrot")
}
}