Skip to content

Commit

Permalink
Fix shunit2 test
Browse files Browse the repository at this point in the history
  • Loading branch information
joglomedia committed Mar 5, 2021
1 parent 0ab1e94 commit e2d4370
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions shunit2/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ testEqualityInstallPhp()
assertEquals "/usr/bin/php" "${php_bin}"
}

testEqualityInstallPhpLoader()
testTrueInstallPhpLoader()
{
. scripts/install_phploader.sh

ic=$(php -v | grep -c ionCube)
ic=$(php7.4 -v | grep -c ionCube)
assertTrue "[ ${ic} -gt 0 ]"

sg=$(php -v | grep -c SourceGuardian)
sg=$(php7.4 -v | grep -c SourceGuardian)
assertTrue "[ ${sg} -gt 0 ]"
}

Expand All @@ -91,7 +91,7 @@ testEqualityInstallPhpImageMagick()
. scripts/install_imagemagick.sh

imagick_bin=$(command -v identify)
assertEquals "/usr/bin/identify" "${php_bin}"
assertEquals "/usr/bin/identify" "${imagick_bin}"
}

testEqualityInstallMySQL()
Expand Down

0 comments on commit e2d4370

Please sign in to comment.