Skip to content
Snippets Groups Projects
Unverified Commit 72cb9b6f authored by Alex Pott's avatar Alex Pott
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment