mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 09:05:55 +00:00
fix SubsiteAdminTest
This commit is contained in:
parent
f348f5fa97
commit
709cbfa2c8
@ -31,7 +31,7 @@ class SubsiteAdminTest extends BaseSubsiteTest
|
||||
$response1 = Director::test('admin/subsites/', null, $this->adminLoggedInSession());
|
||||
|
||||
// Confirm that this URL gets you the entire page, with the edit form loaded
|
||||
$response2 = Director::test("admin/subsites/Subsite/EditForm/field/Subsite/item/$subsite1ID/edit", null,
|
||||
$response2 = Director::test("admin/subsites/SilverStripe-Subsites-Model-Subsite/EditForm/field/SilverStripe-Subsites-Model-Subsite/item/$subsite1ID/edit", null,
|
||||
$this->adminLoggedInSession());
|
||||
$this->assertTrue(strpos($response2->getBody(), 'id="Form_ItemEditForm_ID"') !== false,
|
||||
"Testing Form_ItemEditForm_ID exists");
|
||||
|
Loading…
x
Reference in New Issue
Block a user