mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Fixed CMSMainTest to work with new breadcrumbs conventions (see 44a4e8a840
)
This commit is contained in:
parent
6876c9a802
commit
4612b13d98
@ -233,10 +233,9 @@ class CMSMainTest extends FunctionalTest {
|
||||
$crumbs = $parser->getBySelector('#page-title-heading .crumb');
|
||||
|
||||
$this->assertNotNull($crumbs);
|
||||
$this->assertEquals(3, count($crumbs));
|
||||
$this->assertEquals('Pages', (string)$crumbs[0]);
|
||||
$this->assertEquals('Page 3', (string)$crumbs[1]);
|
||||
$this->assertEquals('Page 3.1', (string)$crumbs[2]);
|
||||
$this->assertEquals(2, count($crumbs));
|
||||
$this->assertEquals('Page 3', (string)$crumbs[0]);
|
||||
$this->assertEquals('Page 3.1', (string)$crumbs[1]);
|
||||
|
||||
$this->session()->inst_set('loggedInAs', null);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user