public function NodeExpireAdminTestCase::testFieldAdminHandler in Node expire 8
Same name in this branch
- 8 tests/node_expire.admin.test \NodeExpireAdminTestCase::testFieldAdminHandler()
- 8 src/Tests/NodeExpireAdminTestCase.php \Drupal\node_expire\Tests\NodeExpireAdminTestCase::testFieldAdminHandler()
Same name and namespace in other branches
- 7.2 tests/node_expire.admin.test \NodeExpireAdminTestCase::testFieldAdminHandler()
- 7 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.');
}