Skip to content
Snippets Groups Projects

Issue #2845319: The highlighting of the 'Home' menu-link does not respect query strings and fragment identifiers

Open Issue #2845319: The highlighting of the 'Home' menu-link does not respect query strings and fragment identifiers
2 unresolved threads
Open Ben Mullins requested to merge issue/drupal-2845319:2845319-the-highlighting-of into 9.3.x
2 unresolved threads
3 files
+ 8
8
Compare changes
  • Side-by-side
  • Inline
Files
3
  • 17e5d9cf
    Issue #3226139 by Spokje, longwave: ->willReturn(...) would make more sense... · 17e5d9cf
    Alex Pott authored
    Issue #3226139 by Spokje, longwave: ->willReturn(...) would make more sense here (ding ding round 2)
    
    (cherry picked from commit e30a948c)
@@ -92,16 +92,16 @@ public function testBuild() {
@@ -92,16 +92,16 @@ public function testBuild() {
$vocab_storage = $this->createMock('Drupal\Core\Entity\EntityStorageInterface');
$vocab_storage = $this->createMock('Drupal\Core\Entity\EntityStorageInterface');
$vocab_storage->expects($this->any())
$vocab_storage->expects($this->any())
->method('load')
->method('load')
->will($this->returnValueMap([
->willReturnMap([
['forums', $prophecy->reveal()],
['forums', $prophecy->reveal()],
]));
]);
$entity_type_manager = $this->createMock(EntityTypeManagerInterface::class);
$entity_type_manager = $this->createMock(EntityTypeManagerInterface::class);
$entity_type_manager->expects($this->any())
$entity_type_manager->expects($this->any())
->method('getStorage')
->method('getStorage')
->will($this->returnValueMap([
->willReturnMap([
['taxonomy_vocabulary', $vocab_storage],
['taxonomy_vocabulary', $vocab_storage],
]));
]);
$config_factory = $this->getConfigFactoryStub(
$config_factory = $this->getConfigFactoryStub(
[
[
Loading