Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dsainati1 committed Oct 19, 2023
1 parent 197334d commit 59cc7f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runtime/tests/checker/entitlements_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1471,7 +1471,9 @@ func TestCheckBasicEntitlementMappingAccess(t *testing.T) {
}
`)

assert.NoError(t, err)
errs := RequireCheckerErrors(t, err, 1)

require.IsType(t, &sema.InvalidMappedAuthorizationOutsideOfFieldError{}, errs[0])
})

t.Run("invalid mapping", func(t *testing.T) {
Expand Down

0 comments on commit 59cc7f2

Please sign in to comment.