You are here

public function FollowTestCase::_testConfigureForm in Follow 7.2

1 call to FollowTestCase::_testConfigureForm()
FollowTestCase::testFollow in tests/follow.test
Create one test function here to run all tests from, for speed.

File

tests/follow.test, line 67
Follow module tests.

Class

FollowTestCase
@file Follow module tests.

Code

public function _testConfigureForm() {
  $url = 'admin/structure/block/manage/follow/site/configure';
  $css_path = _follow_css_get_path();
  $original_time = filemtime($css_path);
  $this
    ->drupalLogin($this->adminUser);
  $this
    ->drupalPost($url, array(), t('Save block'));
  $new_time = filemtime($css_path);
  $this
    ->assertNotEqual($original_time, $new_time, t('The CSS file is regenerated upon saving the block configure form.'));
}