Use Mock tests, after checking the real test.

This commit is contained in:
Wilmer Arambula
2023-10-20 12:42:19 -03:00
parent 39cf0a567d
commit ecc6c6121e
2 changed files with 91 additions and 54 deletions

View File

@ -86,6 +86,10 @@ class ServeController extends Controller
$command .= " -r \"{$router}\"";
}
if (YII_ENV === 'test') {
return true;
}
passthru($command);
}