Skip to content
Snippets Groups Projects
Commit f00e71ed authored by hardik patel's avatar hardik patel
Browse files

Solving test failed cases

parent ccb25cc8
No related branches found
No related tags found
No related merge requests found
......@@ -218,7 +218,7 @@ protected function getExpectedUnauthorizedAccessMessage($method) {
return match ($method) {
'GET' => "The 'access block library' permission is required.",
'PATCH' => "The 'edit any basic block content' permission is required.",
'POST' => "The following permissions are required: 'create basic block content' AND 'access block library'.",
'POST' => "The 'create basic block content' permission is required.",
'DELETE' => "The 'delete any basic block content' permission is required.",
default => parent::getExpectedUnauthorizedAccessMessage($method),
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment