Loading core/modules/image/tests/src/Functional/QuickEditImageControllerTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -91,7 +91,7 @@ public function testAccess() { /** @var \Symfony\Component\BrowserKit\Client $client */ $client = $this->getSession()->getDriver()->getClient(); $client->request('POST', '/quickedit/image/upload/node/' . $node->id() . '/' . $this->fieldName . '/' . $node->language()->getId() . '/default'); $this->assertEquals('403', $client->getResponse()->getStatus()); $this->assertEquals('403', $client->getResponse()->getStatusCode()); } /** Loading core/tests/Drupal/Tests/Listeners/DeprecationListenerTrait.php +0 −3 Original line number Diff line number Diff line Loading @@ -142,9 +142,6 @@ public static function getSkippedDeprecations() { return [ // The following deprecation message is skipped for testing purposes. '\Drupal\Tests\SkippedDeprecationTest deprecation', // This deprecation comes from behat/mink-browserkit-driver when updating // symfony/browser-kit to 4.3+. 'The "Symfony\Component\BrowserKit\Response::getStatus()" method is deprecated since Symfony 4.3, use getStatusCode() instead.', // The following Symfony deprecations are introduced in the Symfony 4 // development cycle. They will need to be resolved prior to Symfony 5 // compatibility. Loading Loading
core/modules/image/tests/src/Functional/QuickEditImageControllerTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -91,7 +91,7 @@ public function testAccess() { /** @var \Symfony\Component\BrowserKit\Client $client */ $client = $this->getSession()->getDriver()->getClient(); $client->request('POST', '/quickedit/image/upload/node/' . $node->id() . '/' . $this->fieldName . '/' . $node->language()->getId() . '/default'); $this->assertEquals('403', $client->getResponse()->getStatus()); $this->assertEquals('403', $client->getResponse()->getStatusCode()); } /** Loading
core/tests/Drupal/Tests/Listeners/DeprecationListenerTrait.php +0 −3 Original line number Diff line number Diff line Loading @@ -142,9 +142,6 @@ public static function getSkippedDeprecations() { return [ // The following deprecation message is skipped for testing purposes. '\Drupal\Tests\SkippedDeprecationTest deprecation', // This deprecation comes from behat/mink-browserkit-driver when updating // symfony/browser-kit to 4.3+. 'The "Symfony\Component\BrowserKit\Response::getStatus()" method is deprecated since Symfony 4.3, use getStatusCode() instead.', // The following Symfony deprecations are introduced in the Symfony 4 // development cycle. They will need to be resolved prior to Symfony 5 // compatibility. Loading