Commit a712f875 authored by Elias Luhr's avatar Elias Luhr

using properties in faker like this is deprecated

parent 9055a49b
Pipeline #83984 passed with stages
in 12 minutes and 18 seconds
......@@ -12,7 +12,7 @@ class UserCreateCest
public function tryToTest(E2eTester $I)
{
$faker = Factory::create();
$username = $faker->userName;
$username = $faker->userName();
$I->wantTo('ensure that User module works');
......@@ -22,9 +22,9 @@ class UserCreateCest
$I->amGoingTo('try to view and create snippets');
$I->amOnPage('/user/admin/create');
$I->fillField('#user-email', $faker->email);
$I->fillField('#user-email', $faker->email());
$I->fillField('#user-username', $username);
$I->fillField('#user-password', $faker->password);
$I->fillField('#user-password', $faker->password());
$I->click('button[type="submit"]');
......
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