We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bb5ca9 commit 7e6c9f8Copy full SHA for 7e6c9f8
spec/classes/mod/php_spec.rb
@@ -111,6 +111,15 @@
111
elsif facts[:os]['release']['major'].to_i == 8
112
it { is_expected.to contain_apache__mod('php7') }
113
it { is_expected.to contain_file('php7.load').with(content: "LoadModule php7_module modules/libphp7.so\n") }
114
+
115
+ context 'with php8.0' do
116
+ let :params do
117
+ { php_version: '8.0' }
118
+ end
119
120
+ it { is_expected.to contain_apache__mod('php') }
121
+ it { is_expected.to contain_file('php.load').with(content: "LoadModule php_module modules/libphp.so\n") }
122
123
elsif facts[:os]['release']['major'].to_i >= 9
124
it { is_expected.to contain_apache__mod('php') }
125
it { is_expected.to contain_file('php.load').with(content: "LoadModule php_module modules/libphp.so\n") }
0 commit comments