X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fuser%2Ftests%2Fsrc%2FFunctional%2FUserAdminTest.php;fp=web%2Fcore%2Fmodules%2Fuser%2Ftests%2Fsrc%2FFunctional%2FUserAdminTest.php;h=82e5df807c1e2d48f49950baa195787670f82899;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=4e69346d2e5c1c96a13563f103d609aca88d8667;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/web/core/modules/user/tests/src/Functional/UserAdminTest.php b/web/core/modules/user/tests/src/Functional/UserAdminTest.php index 4e69346d2..82e5df807 100644 --- a/web/core/modules/user/tests/src/Functional/UserAdminTest.php +++ b/web/core/modules/user/tests/src/Functional/UserAdminTest.php @@ -108,7 +108,7 @@ class UserAdminTest extends BrowserTestBase { $this->drupalPostForm('admin/people', $edit, t('Apply to selected items'), [ // Sort the table by username so that we know reliably which user will be // targeted with the blocking action. - 'query' => ['order' => 'name', 'sort' => 'asc'] + 'query' => ['order' => 'name', 'sort' => 'asc'], ]); $site_name = $this->config('system.site')->get('name'); $this->assertMailString('body', 'Your account on ' . $site_name . ' has been blocked.', 1, 'Blocked message found in the mail sent to user C.'); @@ -129,7 +129,7 @@ class UserAdminTest extends BrowserTestBase { $this->drupalPostForm('admin/people', $editunblock, t('Apply to selected items'), [ // Sort the table by username so that we know reliably which user will be // targeted with the blocking action. - 'query' => ['order' => 'name', 'sort' => 'asc'] + 'query' => ['order' => 'name', 'sort' => 'asc'], ]); $user_storage->resetCache([$user_c->id()]); $account = $user_storage->load($user_c->id());