Issue #2471633 by AjitS, JeroenT: Spelling fixes in UserDeleteTest

8.0.x
xjm 2015-04-16 14:59:23 +02:00
parent 9def61241e
commit fc59ba2082
1 changed files with 3 additions and 3 deletions

View File

@ -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())));