Mercurial > hg > isophonics-drupal-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
22 trait AnonResourceTestTrait { | 22 trait AnonResourceTestTrait { |
23 | 23 |
24 /** | 24 /** |
25 * {@inheritdoc} | 25 * {@inheritdoc} |
26 */ | 26 */ |
27 protected function assertResponseWhenMissingAuthentication(ResponseInterface $response) { | 27 protected function assertResponseWhenMissingAuthentication($method, ResponseInterface $response) { |
28 throw new \LogicException('When testing for anonymous users, authentication cannot be missing.'); | 28 throw new \LogicException('When testing for anonymous users, authentication cannot be missing.'); |
29 } | 29 } |
30 | 30 |
31 /** | 31 /** |
32 * {@inheritdoc} | 32 * {@inheritdoc} |