X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fuser%2Ftests%2Fsrc%2FFunctional%2FViews%2FUserChangedTest.php;fp=web%2Fcore%2Fmodules%2Fuser%2Ftests%2Fsrc%2FFunctional%2FViews%2FUserChangedTest.php;h=2271c0ce0726ba5d2c4ac8f0371c9c18c7c9fc7d;hp=0000000000000000000000000000000000000000;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/modules/user/tests/src/Functional/Views/UserChangedTest.php b/web/core/modules/user/tests/src/Functional/Views/UserChangedTest.php new file mode 100644 index 000000000..2271c0ce0 --- /dev/null +++ b/web/core/modules/user/tests/src/Functional/Views/UserChangedTest.php @@ -0,0 +1,50 @@ +enableViewsTestModule(); + } + + /** + * Tests changed field. + */ + public function testChangedField() { + $path = 'test_user_changed'; + + $options = []; + + $this->drupalGet($path, $options); + + $this->assertText(t('Updated date') . ': ' . date('Y-m-d', REQUEST_TIME)); + } + +}