Skip to content
Snippets Groups Projects
Commit a17dcdf7 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

fix test expected results

parent 916c258e
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ subtest start_page => sub { ...@@ -30,7 +30,7 @@ subtest start_page => sub {
diag($out) if $ENV{TEST_DEBUG}; diag($out) if $ENV{TEST_DEBUG};
like( like(
$out, $out,
qr{^Content-Type: text/html\r\n\r\n}, qr{^Content-Type: text/html; charset=utf8\r\n\r\n},
'HTTP headers' 'HTTP headers'
); );
like( like(
...@@ -40,7 +40,7 @@ subtest start_page => sub { ...@@ -40,7 +40,7 @@ subtest start_page => sub {
); );
like( like(
$out, $out,
qr{<button id="start_testing">Go on testing the service</button>}, qr{<a href="\?action=select_sp" class="button">Get started</a>},
'start button' 'start button'
); );
is($err, '', 'empty stderr'); is($err, '', 'empty stderr');
...@@ -57,7 +57,7 @@ subtest sp_selection_page => sub { ...@@ -57,7 +57,7 @@ subtest sp_selection_page => sub {
diag($out) if $ENV{TEST_DEBUG}; diag($out) if $ENV{TEST_DEBUG};
like( like(
$out, $out,
qr{^Content-Type: text/html\r\n\r\n}, qr{^Content-Type: text/html; charset=utf8\r\n\r\n},
'HTTP headers' 'HTTP headers'
); );
like( like(
...@@ -84,7 +84,7 @@ subtest email_selection_page_missing_parameter => sub { ...@@ -84,7 +84,7 @@ subtest email_selection_page_missing_parameter => sub {
diag($out) if $ENV{TEST_DEBUG}; diag($out) if $ENV{TEST_DEBUG};
like( like(
$out, $out,
qr{^Content-Type: text/html\r\n\r\n}, qr{^Content-Type: text/html; charset=utf8\r\n\r\n},
'HTTP headers' 'HTTP headers'
); );
like( like(
...@@ -112,7 +112,7 @@ subtest email_selection_page_wrong_parameter => sub { ...@@ -112,7 +112,7 @@ subtest email_selection_page_wrong_parameter => sub {
diag($out) if $ENV{TEST_DEBUG}; diag($out) if $ENV{TEST_DEBUG};
like( like(
$out, $out,
qr{^Content-Type: text/html\r\n\r\n}, qr{^Content-Type: text/html; charset=utf8\r\n\r\n},
'HTTP headers' 'HTTP headers'
); );
like( like(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment