mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MNT Fix unit test
This commit is contained in:
parent
04a0c928b3
commit
7027d654d2
@ -530,7 +530,11 @@ class SiteTreeTest extends SapphireTest
|
||||
$staff->RelativeLink(),
|
||||
'Matches URLSegment plus parent on second level without parameters'
|
||||
);
|
||||
$this->assertEquals('0/', $numeric0->RelativeLink(), 'Matches URLSegment for segment = 0');
|
||||
$this->assertEquals(
|
||||
Controller::normaliseTrailingSlash('0/'),
|
||||
$numeric0->RelativeLink(),
|
||||
'Matches URLSegment for segment = 0'
|
||||
);
|
||||
$this->assertEquals(
|
||||
'about-us/edit',
|
||||
$about->RelativeLink('edit'),
|
||||
|
Loading…
Reference in New Issue
Block a user