Skip to content

Commit

Permalink
update expected error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrancisc committed Sep 7, 2023
1 parent cdd6a30 commit 769b150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/parallel/spacebindingrequest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func TestUpdateSpaceBindingRequest(t *testing.T) {
},
)
require.Error(t, err) // an error from the validating webhook is expected when trying to update the MUR field
require.EqualError(t, err, "admission webhook \"users.spacebindingrequests.webhook.sandbox\" denied the request: SpaceBindingRequest.MasterUserRecord field cannot be updated. Consider deleting and recreating the SpaceBindingRequest resource")
require.EqualError(t, err, "admission webhook \"users.spacebindingrequests.webhook.sandbox\" denied the request: SpaceBindingRequest.MasterUserRecord field cannot be changed. Consider deleting and creating a new SpaceBindingRequest resource")

//then
// wait for both SpaceBindingRequest and SpaceBinding to have same MUR
Expand Down

0 comments on commit 769b150

Please sign in to comment.