From fc59ba20828f15f6bcc2a9c15f5c024665ef5430 Mon Sep 17 00:00:00 2001 From: xjm Date: Thu, 16 Apr 2015 14:59:23 +0200 Subject: [PATCH] Issue #2471633 by AjitS, JeroenT: Spelling fixes in UserDeleteTest --- core/modules/user/src/Tests/UserDeleteTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/modules/user/src/Tests/UserDeleteTest.php b/core/modules/user/src/Tests/UserDeleteTest.php index bfa6016d15e..1c913115ba6 100644 --- a/core/modules/user/src/Tests/UserDeleteTest.php +++ b/core/modules/user/src/Tests/UserDeleteTest.php @@ -36,9 +36,9 @@ class UserDeleteTest extends WebTestBase { ->execute() ->fetchField(); - $this->assertTrue($roles_created > 0, 'Role assigments created for new users and deletion of role assigments can be tested'); + $this->assertTrue($roles_created > 0, 'Role assignments created for new users and deletion of role assignments can be tested'); // We should be able to load one of the users. - $this->assertTrue(user_load($user_a->id()), 'User is created and deltion of user can be tested'); + $this->assertTrue(user_load($user_a->id()), 'User is created and deletion of user can be tested'); // Delete the users. user_delete_multiple($uids); // Test if the roles assignments are deleted. @@ -49,7 +49,7 @@ class UserDeleteTest extends WebTestBase { ->countQuery() ->execute() ->fetchField(); - $this->assertTrue($roles_after_deletion == 0, 'Role assigments deleted along with users'); + $this->assertTrue($roles_after_deletion == 0, 'Role assignments deleted along with users'); // Test if the users are deleted, user_load() will return FALSE. $this->assertFalse(user_load($user_a->id()), format_string('User with id @uid deleted.', array('@uid' => $user_a->id()))); $this->assertFalse(user_load($user_b->id()), format_string('User with id @uid deleted.', array('@uid' => $user_b->id())));