From 4f75eac5fec80fc5bf491b6504baf3e6940df764 Mon Sep 17 00:00:00 2001 From: sticky-note Date: Wed, 14 Aug 2019 01:33:57 +1100 Subject: [PATCH] fix(tests): fix package name for debian --- test/integration/default/controls/package_spec.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/integration/default/controls/package_spec.rb b/test/integration/default/controls/package_spec.rb index 5ed0a10..6023dbc 100644 --- a/test/integration/default/controls/package_spec.rb +++ b/test/integration/default/controls/package_spec.rb @@ -3,7 +3,14 @@ control 'Php package' do pkg_name = case os[:family] - when 'debian', 'redhat', 'fedora' + when 'debian' + case os[:name] + when 'ubuntu' + 'php' + when 'debian' + 'php7.0' + end + when 'redhat', 'fedora' 'php' when 'suse' 'php5'