MDL-50611 testing: Extra http status code checking

This commit is contained in:
David Monllao
2015-06-23 10:37:00 +08:00
parent 0691b264e2
commit cd7544d403
3 changed files with 15 additions and 5 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ $output = null;
exec("php util.php --diag", $output, $code);
// Ensure we have composer installed, before we install or re-install test site.
if ($code == BEHAT_EXITCODE_COMPOSER || $code == BEHAT_EXITCODE_INSTALL || $code == BEHAT_EXITCODE_REINSTALL) {
if ($code == TESTING_EXITCODE_COMPOSER || $code == BEHAT_EXITCODE_INSTALL || $code == BEHAT_EXITCODE_REINSTALL) {
testing_update_composer_dependencies();
chdir(__DIR__);
exec("php util.php --diag", $output, $code);