Skip to content

Commit b4729ac

Browse files
test: fix for the new template (erb to epp)
1 parent e5ced74 commit b4729ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/classes/web_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@
233233
it { is_expected.to contain_file('/etc/zabbix/web/zabbix.conf.php').with_content(%r{^\$SSO\['SP_KEY'\] = '/etc/zabbix/web/sp.key'}) }
234234
it { is_expected.to contain_file('/etc/zabbix/web/zabbix.conf.php').with_content(%r{^\$SSO\['SP_CERT'\] = '/etc/zabbix/web/sp.cert'}) }
235235
it { is_expected.to contain_file('/etc/zabbix/web/zabbix.conf.php').with_content(%r{^\$SSO\['IDP_CERT'\] = '/etc/zabbix/web/idp.cert'}) }
236-
it { is_expected.to contain_file('/etc/zabbix/web/zabbix.conf.php').with_content(%r{^\$SSO\['SETTINGS'\] = \[ \n "strict" => true,\n "baseurl" => "http://example.com/sp/",\n "security" => \[\n "signatureAlgorithm" => "http://www.w3.org/2001/04/xmldsig-more#rsa-sha384",\n "digestAlgorithm" => "http://www.w3.org/2001/04/xmldsig-more#sha384",\n "singleLogoutService" => \[\n "responseUrl" => ""\n \]\n \]\n\];}) }
236+
it { is_expected.to contain_file('/etc/zabbix/web/zabbix.conf.php').with_content(%r{^\$SSO\['SETTINGS'\] = \[ \n "strict" => true,\n "baseurl" => "http://example.com/sp/",\n "security" => \[\n "signatureAlgorithm" => "http://www.w3.org/2001/04/xmldsig-more#rsa-sha384",\n "digestAlgorithm" => "http://www.w3.org/2001/04/xmldsig-more#sha384",\n "singleLogoutService" => \[\n "responseUrl" => ""\n \]\n \]\n\]\n;}) }
237237
end
238238
end
239239
end

0 commit comments

Comments
 (0)