You are here

public function NodeExpireAdminTestCase::testFieldAdminHandler in Node expire 8

Same name in this branch
  1. 8 tests/node_expire.admin.test \NodeExpireAdminTestCase::testFieldAdminHandler()
  2. 8 src/Tests/NodeExpireAdminTestCase.php \Drupal\node_expire\Tests\NodeExpireAdminTestCase::testFieldAdminHandler()

Makes test.

File

src/Tests/NodeExpireAdminTestCase.php, line 53

Class

NodeExpireAdminTestCase
Tests for the administrative UI.

Namespace

Drupal\node_expire\Tests

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.');
}