mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Fix broken test
This commit is contained in:
parent
1c1a299cd1
commit
e3dee85635
@ -76,7 +76,7 @@ class SecurityAdminTest extends FunctionalTest {
|
|||||||
$group = $this->objFromFixture('Group', 'admin');
|
$group = $this->objFromFixture('Group', 'admin');
|
||||||
|
|
||||||
SecurityAdmin::add_hidden_permission('CMS_ACCESS_ReportAdmin');
|
SecurityAdmin::add_hidden_permission('CMS_ACCESS_ReportAdmin');
|
||||||
$response = $this->get(sprintf('admin/security/EditForm/field/Group/item/%d/edit', $group->ID));
|
$response = $this->get(sprintf('admin/security/EditForm/field/Groups/item/%d/edit', $group->ID));
|
||||||
|
|
||||||
$this->assertContains(
|
$this->assertContains(
|
||||||
'CMS_ACCESS_SecurityAdmin',
|
'CMS_ACCESS_SecurityAdmin',
|
||||||
|
Loading…
Reference in New Issue
Block a user