Add an auth test case I forgot about
This commit is contained in:
parent
e0f847a381
commit
52ef7ba8c1
1 changed files with 4 additions and 0 deletions
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue