Skip to content
Snippets Groups Projects
Commit f52a9d78 authored by hardik patel's avatar hardik patel Committed by Adam Bramley
Browse files

Solving test failed cases

parent c1bdbf05
No related branches found
No related tags found
No related merge requests found
......@@ -220,7 +220,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