mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 10:23:17 +00:00
cleanup debug
This commit is contained in:
@@ -130,14 +130,12 @@ class JsFixtures extends Command
|
|||||||
$output->writeln(sprintf("Generating %s", $target));
|
$output->writeln(sprintf("Generating %s", $target));
|
||||||
|
|
||||||
if ($authenticateUser) {
|
if ($authenticateUser) {
|
||||||
// $this->loginUser($app, $user);
|
$this->loginUser($app, $user);
|
||||||
$app->getAuthenticator()->openAccount($user);
|
|
||||||
}
|
}
|
||||||
$client->request($method, $path);
|
$client->request($method, $path);
|
||||||
$response = $client->getResponse();
|
$response = $client->getResponse();
|
||||||
if ($authenticateUser) {
|
if ($authenticateUser) {
|
||||||
// $this->logoutUser($app);
|
$this->logoutUser($app);
|
||||||
$app->getAuthenticator()->closeAccount();
|
|
||||||
}
|
}
|
||||||
if (false === $response->isOk()) {
|
if (false === $response->isOk()) {
|
||||||
$this->deleteUser($user);
|
$this->deleteUser($user);
|
||||||
|
|||||||
Reference in New Issue
Block a user