[TESTS] Fix some failing tests broken by restructuring and dependency updates

This commit is contained in:
2022-03-07 00:31:02 +00:00
committed by Diogo Peralta Cordeiro
parent 46de2d47e9
commit afa8443949
5 changed files with 8 additions and 7 deletions

View File

@@ -180,7 +180,7 @@ class SecurityTest extends GNUsocialTestCase
public function testRegisterExistingEmail()
{
[$client, ] = self::testRegister('other_new_nickname', 'email@provider.any', 'foobar');
[$client, ] = self::testRegister('other_new_nickname', 'taken_user@provider.any', 'foobar');
$this->assertSelectorTextContains('.stacktrace', 'App\Util\Exception\EmailTakenException');
}
}