Loading core/modules/user/tests/src/Functional/UserBlocksTest.php +0 −11 Original line number Diff line number Diff line Loading @@ -3,7 +3,6 @@ namespace Drupal\Tests\user\Functional; use Drupal\Core\Url; use Drupal\Core\Database\Database; use Drupal\dynamic_page_cache\EventSubscriber\DynamicPageCacheSubscriber; use Drupal\Tests\BrowserTestBase; Loading Loading @@ -128,14 +127,4 @@ public function testUserLoginBlock() { $this->assertNoText(t('Unrecognized username or password. Forgot your password?')); } /** * Updates the access column for a user. */ private function updateAccess($uid, $access = REQUEST_TIME) { Database::getConnection()->update('users_field_data') ->condition('uid', $uid) ->fields(['access' => $access]) ->execute(); } } Loading
core/modules/user/tests/src/Functional/UserBlocksTest.php +0 −11 Original line number Diff line number Diff line Loading @@ -3,7 +3,6 @@ namespace Drupal\Tests\user\Functional; use Drupal\Core\Url; use Drupal\Core\Database\Database; use Drupal\dynamic_page_cache\EventSubscriber\DynamicPageCacheSubscriber; use Drupal\Tests\BrowserTestBase; Loading Loading @@ -128,14 +127,4 @@ public function testUserLoginBlock() { $this->assertNoText(t('Unrecognized username or password. Forgot your password?')); } /** * Updates the access column for a user. */ private function updateAccess($uid, $access = REQUEST_TIME) { Database::getConnection()->update('users_field_data') ->condition('uid', $uid) ->fields(['access' => $access]) ->execute(); } }