function BoxesSpacesTestCase::testUserSpace in Boxes 6
Same name and namespace in other branches
- 7 tests/boxes_spaces.test \BoxesSpacesTestCase::testUserSpace()
File
- tests/
boxes.test, line 219
Class
Code
function testUserSpace() {
$delta = $this
->runTest('user/3');
// Before this final check we make sure that user/%uid/features/override
// path is actually available. Some of our caches are over exuberant.
$this
->drupalPost('admin/settings/performance', array(), t('Clear cached data'));
$this
->drupalGet('user/3/features/overrides');
$this
->assertResponse('200', 'Response code 200');
$this
->assertText($delta, 'Found overridden box: ' . $delta);
}