Commit fc59ba20 authored by xjm's avatar xjm

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

parent 9def6124
......@@ -36,9 +36,9 @@ function testUserDeleteMultiple() {
->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 @@ function testUserDeleteMultiple() {
->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())));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment