Adding Authz checks that support new pathing (#328)
This commit is contained in:
1 parent
3d944a616f
commit
1c2c078e0a
46 files changed
+1433
-1165
No files matched your search
@@ -237,8 +237,9 @@ func TestSet_Crud(t *testing.T) {
|
||||
} else {
|
||||
existed, apiErr, err = hClient.Delete(tc.Context(), hc.Id, h.Id)
|
||||
}
|
||||
assert.NoError(err)
|
||||
assert.False(existed, "Expected catalog to not exist when deleted, but it did.")
|
||||
require.NoError(err)
|
||||
assert.NotNil(apiErr)
|
||||
assert.EqualValues(http.StatusForbidden, apiErr.Status)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user