diff --git a/core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php b/core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php index a6cdac3..6b7334f 100644 --- a/core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php +++ b/core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php @@ -333,7 +333,6 @@ public function testGenerateActive() { $request = new Request(array(), array(), array('system_path' => 'test-route-2')); $this->linkGenerator->setRequest($request); $result = $this->linkGenerator->generate('Test', 'test_route_1'); - $this->assertFalse($this->linkGenerator->isRouteActive('test_route_1', array(), array())); $this->assertNotTag(array( 'tag' => 'a', 'attributes' => array('class' => 'active'), @@ -347,7 +346,6 @@ public function testGenerateActive() { $request->attributes->set('_raw_variables', $raw_variables); $this->linkGenerator->setRequest($request); $result = $this->linkGenerator->generate('Test', 'test_route_1'); - $this->assertTrue($this->linkGenerator->isRouteActive('test_route_1', array(), array())); $this->assertTag(array( 'tag' => 'a', 'attributes' => array('class' => 'active'), @@ -355,7 +353,6 @@ public function testGenerateActive() { // Render a link with the same path and language as the current path. $result = $this->linkGenerator->generate('Test', 'test_route_1'); - $this->assertTrue($this->linkGenerator->isRouteActive('test_route_1', array(), array())); $this->assertTag(array( 'tag' => 'a', 'attributes' => array('class' => 'active'), @@ -369,7 +366,6 @@ public function testGenerateActive() { array(), array('language' => new Language(array('id' => 'de'))) ); - $this->assertFalse($this->linkGenerator->isRouteActive('test_route_1', array(), array('options' => array('language' => new Language(array('id' => 'de')))))); $this->assertNotTag(array( 'tag' => 'a', 'attributes' => array('class' => 'active'), @@ -386,7 +382,6 @@ public function testGenerateActive() { array(), array('query' => array('value' => 'example_1') )); - $this->assertTrue($this->linkGenerator->isRouteActive('test_route_3', array('value' => 'example_1'), array())); $this->assertTag(array( 'tag' => 'a', 'attributes' => array('class' => 'active'), @@ -400,7 +395,6 @@ public function testGenerateActive() { array(), array('query' => array('value' => 'example_2')) ); - $this->assertFalse($this->linkGenerator->isRouteActive('test_route_3', array('value' => 'example_2'), array())); $this->assertNotTag(array( 'tag' => 'a', 'attributes' => array('class' => 'active'), @@ -416,7 +410,6 @@ public function testGenerateActive() { array('object' => '1'), array('query' => array('value' => 'example_1')) ); - $this->assertTrue($this->linkGenerator->isRouteActive('test_route_4', array('object' => '1', 'value' => 'example_1'), array())); $this->assertTag(array( 'tag' => 'a', 'attributes' => array('class' => 'active'),