From 769b1509228e695fa31b255162df90e3963038ab Mon Sep 17 00:00:00 2001 From: Francisc Munteanu Date: Thu, 7 Sep 2023 20:00:06 +0200 Subject: [PATCH] update expected error message --- test/e2e/parallel/spacebindingrequest_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/parallel/spacebindingrequest_test.go b/test/e2e/parallel/spacebindingrequest_test.go index 831cc1426..7714b01ad 100644 --- a/test/e2e/parallel/spacebindingrequest_test.go +++ b/test/e2e/parallel/spacebindingrequest_test.go @@ -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