Mercurial > hg > isophonics-drupal-site
diff core/modules/rest/tests/src/Functional/AnonResourceTestTrait.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 7a779792577d |
children |
line wrap: on
line diff
--- a/core/modules/rest/tests/src/Functional/AnonResourceTestTrait.php Mon Apr 23 09:33:26 2018 +0100 +++ b/core/modules/rest/tests/src/Functional/AnonResourceTestTrait.php Mon Apr 23 09:46:53 2018 +0100 @@ -24,7 +24,7 @@ /** * {@inheritdoc} */ - protected function assertResponseWhenMissingAuthentication(ResponseInterface $response) { + protected function assertResponseWhenMissingAuthentication($method, ResponseInterface $response) { throw new \LogicException('When testing for anonymous users, authentication cannot be missing.'); }