Unverified Commit 72cb9b6f authored by alexpott's avatar alexpott

Issue #3156345 by jungle, S_Bhandari, Hardik_Patel_12, kiamlaluno, alexpott:...

Issue #3156345 by jungle, S_Bhandari, Hardik_Patel_12, kiamlaluno, alexpott: Remove Unused variable $method_definitions from PathProcessorTest.php file
parent f3f320a7
......@@ -53,17 +53,6 @@ protected function setUp(): void {
],
];
// Create a URL-based language negotiation method definition.
$method_definitions = [
LanguageNegotiationUrl::METHOD_ID => [
'class' => '\Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUrl',
'weight' => 9,
],
];
// Create a URL-based language negotiation method.
$method_instance = new LanguageNegotiationUrl($config);
// Create a language manager stub.
$language_manager = $this->getMockBuilder('Drupal\language\ConfigurableLanguageManagerInterface')
->getMock();
......@@ -77,7 +66,6 @@ protected function setUp(): void {
->method('getLanguageTypes')
->will($this->returnValue([LanguageInterface::TYPE_INTERFACE]));
$method_instance->setLanguageManager($language_manager);
$this->languageManager = $language_manager;
}
......
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