You are here

function BoxesSpacesTestCase::testUserSpace in Boxes 7

Same name and namespace in other branches
  1. 6 tests/boxes.test \BoxesSpacesTestCase::testUserSpace()

File

tests/boxes_spaces.test, line 64

Class

BoxesSpacesTestCase

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/config/development/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);
}