From 8a7895a037066f97834c1a66bcc9446fe915cb13 Mon Sep 17 00:00:00 2001 From: Matthias Fetzer Date: Mon, 30 Dec 2024 15:57:20 +0100 Subject: [PATCH] Add tests for Ubuntu 24.04 --- spec/acceptance/mod_php_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/acceptance/mod_php_spec.rb b/spec/acceptance/mod_php_spec.rb index 8fd3dc9c2..a42162fce 100644 --- a/spec/acceptance/mod_php_spec.rb +++ b/spec/acceptance/mod_php_spec.rb @@ -53,6 +53,10 @@ class { 'apache::mod::php': } describe file("#{apache_hash['mod_dir']}/php8.1.conf") do it { is_expected.to contain 'DirectoryIndex index.php' } end + elsif os[:family] == 'ubuntu' && os[:release] == '24.04' + describe file("#{apache_hash['mod_dir']}/php8.3.conf") do + it { is_expected.to contain 'DirectoryIndex index.php' } + end elsif os[:family] == 'redhat' && os[:release] =~ %r{^(8)\b} describe file("#{apache_hash['mod_dir']}/php7.conf") do it { is_expected.to contain 'DirectoryIndex index.php' }