Unverified Commit ef61d276 authored by alexpott's avatar alexpott

Issue #3135308 by sja112, longwave, Kristen Pol: Fix 'The...

Issue #3135308 by sja112, longwave, Kristen Pol: Fix 'The "Symfony\Component\BrowserKit\Response::getStatus()" method is deprecated since Symfony 4.3, use getStatusCode() instead.'
parent 5c72f9f0
......@@ -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());
}
/**
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment