cleanup debug

This commit is contained in:
Jean-Yves Gaulier
2020-02-19 17:10:32 +01:00
parent 63fce45974
commit 4f99fb57c7

View File

@@ -130,14 +130,12 @@ class JsFixtures extends Command
$output->writeln(sprintf("Generating %s", $target));
if ($authenticateUser) {
// $this->loginUser($app, $user);
$app->getAuthenticator()->openAccount($user);
$this->loginUser($app, $user);
}
$client->request($method, $path);
$response = $client->getResponse();
if ($authenticateUser) {
// $this->logoutUser($app);
$app->getAuthenticator()->closeAccount();
$this->logoutUser($app);
}
if (false === $response->isOk()) {
$this->deleteUser($user);