You are here

public function UserChangedTest::testChangedField in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/user/src/Tests/Views/UserChangedTest.php \Drupal\user\Tests\Views\UserChangedTest::testChangedField()

Tests changed field.

File

core/modules/user/src/Tests/Views/UserChangedTest.php, line 45
Contains \Drupal\user\Tests\Views\UserChangedTest.

Class

UserChangedTest
Tests the changed field.

Namespace

Drupal\user\Tests\Views

Code

public function testChangedField() {
  $path = 'test_user_changed';
  $options = array();
  $this
    ->drupalGet($path, $options);
  $this
    ->assertText(t('Updated date') . ': ' . date('Y-m-d', REQUEST_TIME));
}