You are here

public function NodeExpireAdminTestCase::testFieldAdminHandler in Node expire 7

Same name and namespace in other branches
  1. 8 tests/node_expire.admin.test \NodeExpireAdminTestCase::testFieldAdminHandler()
  2. 7.2 tests/node_expire.admin.test \NodeExpireAdminTestCase::testFieldAdminHandler()

Makes test.

File

tests/node_expire.admin.test, line 50
Contains NodeExpireAdminTestCase.

Class

NodeExpireAdminTestCase
Test for Node Expire admin UI.

Code

public function testFieldAdminHandler() {
  $test_path = 'admin/config/workflow/node_expire/settings';
  $this
    ->drupalGet($test_path);
  $this
    ->assertText(t('Allow expire date in the past'), 'The text "Allow expire date in the past" appears on the Node expire settings page.');
}