Skip to content

Commit

Permalink
Tweak test
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Rainville committed Jul 14, 2023
1 parent 31ac451 commit 880ba56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/php/Models/LinkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function testSiteTreeLinkTitleFallback(): void
$model->Title = $customTitle;
$model->write();

$this->assertEquals($customTitle, $model->Title, 'We expect to get the custom title not page title');
$this->assertEquals($customTitle, $model->FrontendTitle(), 'We expect to get the custom title not page title');
}

/**
Expand Down

0 comments on commit 880ba56

Please sign in to comment.