Skip to content

Commit

Permalink
fix serverspec config for php 8
Browse files Browse the repository at this point in the history
  • Loading branch information
htuscher committed Aug 18, 2020
1 parent ddee31f commit ad3c1ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/serverspec/spec/spec_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
$testConfiguration[:php] = 7
end

if ((ENV['PHP_VERSION']).match('8.0'))
if (ENV['DOCKER_TAG'] =~ /^8\.[0-9]+/)
$testConfiguration[:php] = 8
end

Expand Down

0 comments on commit ad3c1ba

Please sign in to comment.