Skip to content

Commit 8ffc695

Browse files
author
Admin
committed
Add tests for Ubuntu 24.04
1 parent 593c68b commit 8ffc695

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/acceptance/mod_php_spec.rb

+4
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ class { 'apache::mod::php': }
5353
describe file("#{apache_hash['mod_dir']}/php8.1.conf") do
5454
it { is_expected.to contain 'DirectoryIndex index.php' }
5555
end
56+
elsif os[:family] == 'ubuntu' && os[:release] == '24.04'
57+
describe file("#{apache_hash['mod_dir']}/php8.3.conf") do
58+
it { is_expected.to contain 'DirectoryIndex index.php' }
59+
end
5660
elsif os[:family] == 'redhat' && os[:release] =~ %r{^(8)\b}
5761
describe file("#{apache_hash['mod_dir']}/php7.conf") do
5862
it { is_expected.to contain 'DirectoryIndex index.php' }

0 commit comments

Comments
 (0)