Fix unit test failure with new type validation in puppetlabs-apache
The apache::vhost defined type in new puppetlabs-apache 8.0.0 no longer
accepts string values for headers and request_headers. This change
fixes unit tests to avoid type validation error with that stricter
requirement.
[1] 2f6f6f3fd2
Change-Id: I0bfea693e1673a9f3799e439be37414c25f1a899
This commit is contained in:
parent
81af4a0476
commit
a11ca496f7
|
@ -119,8 +119,8 @@ describe 'openstacklib::wsgi::apache' do
|
|||
:custom_wsgi_script_aliases => {
|
||||
'/admin' => '/var/www/cgi-bin/keystone/admin'
|
||||
},
|
||||
:headers => 'set X-Frame-Options "DENY"',
|
||||
:request_headers => 'set Content-Type "application/json"',
|
||||
:headers => ['set X-Frame-Options "DENY"'],
|
||||
:request_headers => ['set Content-Type "application/json"'],
|
||||
:aliases => [
|
||||
{ 'alias' => '/robots.txt', 'path' => '/etc/keystone/robots.txt', }
|
||||
],
|
||||
|
@ -166,8 +166,8 @@ describe 'openstacklib::wsgi::apache' do
|
|||
:wsgi_application_group => '%{GLOBAL}',
|
||||
:wsgi_pass_authorization => 'On',
|
||||
:wsgi_chunked_request => 'On',
|
||||
:headers => 'set X-Frame-Options "DENY"',
|
||||
:request_headers => 'set Content-Type "application/json"',
|
||||
:headers => ['set X-Frame-Options "DENY"'],
|
||||
:request_headers => ['set Content-Type "application/json"'],
|
||||
:aliases => [
|
||||
{ 'alias' => '/robots.txt', 'path' => '/etc/keystone/robots.txt', }
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue