Browse Source

Reversing breadcrumb order after placing block in setUp

pull/764/head
dannylamb 6 years ago committed by GitHub
parent
commit
dc88037d60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      modules/islandora_breadcrumbs/tests/src/Functional/BreadcrumbsTest.php

5
modules/islandora_breadcrumbs/tests/src/Functional/BreadcrumbsTest.php

@ -101,9 +101,10 @@ class BreadcrumbsTest extends IslandoraFunctionalTestBase {
*/
public function testDefaults() {
$breadcrumbs = [
$this->nodeC->toUrl()->toString() => $this->nodeC->label(),
$this->nodeB->toUrl()->toString() => $this->nodeB->label(),
Url::fromRoute('<front>')->toString() => 'Home',
$this->nodeA->toUrl()->toString() => $this->nodeA->label(),
$this->nodeB->toUrl()->toString() => $this->nodeB->label(),
$this->nodeC->toUrl()->toString() => $this->nodeC->label(),
];
$this->assertBreadcrumb($this->nodeD->toUrl()->toString(), $breadcrumbs);

Loading…
Cancel
Save