Commit 33fa4ac7 authored by webchick's avatar webchick

Issue #2080601 by mrsinguyen, mcrittenden: Remove Unused local variable from...

Issue #2080601 by mrsinguyen, mcrittenden: Remove Unused local variable  from /core/modules/user/lib/Drupal/user/Tests/UserRegistrationTest.php.
parent 443db81e
......@@ -87,6 +87,7 @@ function testRegistrationWithoutEmailVerification() {
$this->container->get('entity.manager')->getStorageController('user')->resetCache();
$accounts = entity_load_multiple_by_properties('user', array('name' => $name, 'mail' => $mail));
$new_user = reset($accounts);
$this->assertNotNull($new_user, 'New account successfully created with matching passwords.');
$this->assertText(t('Registration successful. You are now logged in.'), 'Users are logged in after registering.');
$this->drupalLogout();
......
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