only in patch2: unchanged: --- a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php +++ b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php @@ -62,6 +62,7 @@ protected function setUp() { $method_definitions = array( LanguageNegotiationUrl::METHOD_ID => array( 'class' => '\Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUrl', + 'weight' => 9, ), ); @@ -134,7 +135,10 @@ function testProcessInbound() { ->getMock(); $negotiator->expects($this->any()) ->method('getNegotiationMethods') - ->will($this->returnValue(array(LanguageNegotiationUrl::METHOD_ID => array('class' => 'Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUrl')))); + ->will($this->returnValue(array(LanguageNegotiationUrl::METHOD_ID => array( + 'class' => 'Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUrl', + 'weight' => 9, + )))); $method = new LanguageNegotiationUrl(); $method->setConfig($config_factory_stub); $method->setLanguageManager($this->languageManager);