X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcontact%2Ftests%2Fsrc%2FFunctional%2FContactPersonalTest.php;h=8304d7c7e58fca70b35451a591ca21a1577e9e79;hb=refs%2Fheads%2Ft2;hp=7e6ecad7cd6081723fd0535ae112f510c3fe03b6;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/contact/tests/src/Functional/ContactPersonalTest.php b/web/core/modules/contact/tests/src/Functional/ContactPersonalTest.php index 7e6ecad7c..8304d7c7e 100644 --- a/web/core/modules/contact/tests/src/Functional/ContactPersonalTest.php +++ b/web/core/modules/contact/tests/src/Functional/ContactPersonalTest.php @@ -6,8 +6,8 @@ use Drupal\Component\Utility\SafeMarkup; use Drupal\Component\Render\PlainTextOutput; use Drupal\Core\Session\AccountInterface; use Drupal\Core\Test\AssertMailTrait; -use Drupal\system\Tests\Cache\AssertPageCacheContextsAndTagsTrait; use Drupal\Tests\BrowserTestBase; +use Drupal\Tests\system\Functional\Cache\AssertPageCacheContextsAndTagsTrait; use Drupal\user\RoleInterface; /** @@ -139,7 +139,7 @@ class ContactPersonalTest extends BrowserTestBase { $this->drupalGet('user/' . $this->contactUser->id()); $contact_link = '/user/' . $this->contactUser->id() . '/contact'; $this->assertResponse(200); - $this->assertNoLinkByHref ($contact_link, 'The "contact" tab is hidden on profiles for users with no email address'); + $this->assertNoLinkByHref($contact_link, 'The "contact" tab is hidden on profiles for users with no email address'); // Restore original email address. $this->contactUser->setEmail($original_email)->save();