Skip to content

Commit

Permalink
Adjust parsing occ status command output due to new first_install_ver…
Browse files Browse the repository at this point in the history
…sion line
  • Loading branch information
phil-davis authored and Tom Needham committed Jul 5, 2018
1 parent 33e3a62 commit 666ba5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/acceptance/features/bootstrap/BasicStructure.php
Original file line number Diff line number Diff line change
Expand Up @@ -923,11 +923,11 @@ public function statusPhpRespondedShouldMatch(PyStringNode $jsonExpected) {
= \json_encode(\json_decode($this->response->getBody(), true));
if ($this->runOcc(['status']) === 0) {
$output = \explode("- ", $this->lastStdOut);
$version = \explode(": ", $output[2]);
$version = \explode(": ", $output[3]);
PHPUnit_Framework_Assert::assertEquals(
"version", $version[0]
);
$versionString = \explode(": ", $output[3]);
$versionString = \explode(": ", $output[4]);
PHPUnit_Framework_Assert::assertEquals(
"versionstring", $versionString[0]
);
Expand Down

0 comments on commit 666ba5f

Please sign in to comment.