Permalink
Browse files

moved test variable

  • Loading branch information...
s3inlc committed Nov 20, 2018
1 parent 237b52d commit 85d6bc5715a20a0fb9135bb48c7568ddd09485e2
Showing with 3 additions and 2 deletions.
  1. +1 −2 ci/HashtopolisTest.class.php
  2. +2 −0 ci/run.php
@@ -30,13 +30,12 @@
];
public function initAndUpgrade($fromVersion) {
global $VERSION, $BUILD;
global $VERSION, $BUILD, $TEST;
HashtopolisTestFramework::log(HashtopolisTestFramework::LOG_INFO, "Initialize old version $fromVersion...");
$this->init($fromVersion);
HashtopolisTestFramework::log(HashtopolisTestFramework::LOG_INFO, "Running upgrades...");
$TEST = true; // required to fix includes in upgrade script
include("/var/www/html/hashtopolis/src/install/updates/update.php");
HashtopolisTestFramework::log(HashtopolisTestFramework::LOG_INFO, "Initialization with upgrade done!");
}
@@ -27,6 +27,8 @@
}
}
$TEST = true;
if (sizeof($argv) < 2) {
die("Invalid number of arguments!\nphp -f run.php <version> [upgrade]\n");
}

0 comments on commit 85d6bc5

Please sign in to comment.