Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jflearn committed Sep 25, 2024
1 parent 493759a commit 40b8793
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/Model/WithRollupSupportExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,21 @@ public function testLink() {
$page1->ParentID = $rollupPage->ID;
$page1->write();

$this->asserContains( $page1->Link(), ['/rollup-page/page-1/','/rollup-page/page-1'] );
$this->assertContains( $page1->Link(), ['/rollup-page/page-1/','/rollup-page/page-1'] );

$rollupPage->ShowLinksOnly = 0;
$rollupPage->write();
$page1->ParentID = $rollupPage->ID;
$page1->write();

$this->asserContains( $page1->Link(), ['/rollup-page/#page-1','/rollup-page#page-1'] );
$this->assertContains( $page1->Link(), ['/rollup-page/#page-1','/rollup-page#page-1'] );

$rollupPage->ShowLinksOnly = 2;
$rollupPage->write();
$page1->ParentID = $rollupPage->ID;
$page1->write();

$this->asserContains( $page1->Link(), ['/rollup-page/#page-1','/rollup-page#page-1'] );
$this->assertContains( $page1->Link(), ['/rollup-page/#page-1','/rollup-page#page-1'] );
}


Expand Down

0 comments on commit 40b8793

Please sign in to comment.