1 parent 0014f30 commit 4df57ceCopy full SHA for 4df57ce
1 file changed
tests/serverspec/spec/shared/php/modules.rb
@@ -100,10 +100,13 @@
100
101
shared_examples 'php8::modules' do
102
describe command('php -m') do
103
+ its(:stdout) { should contain('shmop') }
104
its(:stdout) { should contain('Zend OPcache') }
105
106
if ( $testConfiguration[:phpRedis] )
107
its(:stdout) { should contain('redis') }
108
+ else
109
+ its(:stdout) { should_not contain('redis') }
110
end
111
112
its(:exit_status) { should eq 0 }
@@ -205,6 +208,7 @@
205
208
206
209
shared_examples 'php-fpm8::modules' do
207
210
describe command('curl --insecure --silent --retry 10 --fail http://localhost/php-test.php?test=get_loaded_extensions') do
211
212
213
214
0 commit comments