Mercurial > hg > cmmr2012-drupal-site
diff core/modules/dblog/tests/src/Functional/DbLogResourceTest.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | c75dbcec494b |
children | 12f9dff5fda9 |
line wrap: on
line diff
--- a/core/modules/dblog/tests/src/Functional/DbLogResourceTest.php Thu Feb 28 11:14:44 2019 +0000 +++ b/core/modules/dblog/tests/src/Functional/DbLogResourceTest.php Thu Feb 28 13:11:55 2019 +0000 @@ -66,7 +66,7 @@ $request_options = $this->getAuthenticationRequestOptions('GET'); $response = $this->request('GET', $url, $request_options); - $this->assertResourceErrorResponse(403, "The 'restful get dblog' permission is required.", $response); + $this->assertResourceErrorResponse(403, "The 'restful get dblog' permission is required.", $response, ['4xx-response', 'http_response'], ['user.permissions'], FALSE, FALSE); // Create a user account that has the required permissions to read // the watchdog resource via the REST API.