From 1690f74ab0d9b558a1e2a523d9906078eb3281ff Mon Sep 17 00:00:00 2001 From: Guillaume Rousse <guillaume.rousse@renater.fr> Date: Tue, 1 Feb 2022 12:02:33 +0100 Subject: [PATCH] fix expected results --- t/cgi.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/cgi.t b/t/cgi.t index 9343381..cae99af 100755 --- a/t/cgi.t +++ b/t/cgi.t @@ -167,7 +167,7 @@ named_subtest "SP selection page" => sub { $t->get_ok('/step1') ->status_is(200) ->text_is('html head title' => 'eduGAIN Access Check', 'expected title') - ->element_exists('select[id=edugain][name=edugain]', 'SP list'); + ->element_exists('select[id=all][name=all]', 'SP list'); my $res = $t->tx()->res(); html_ok($res) or diag_file($res, $test_dir); @@ -191,7 +191,7 @@ named_subtest "email selection page, invalid entityid parameter" => sub { $t->get_ok('/step2' => form => {federation => 'edugain', entityid => 'foo'}) ->status_is(200) ->text_is('html head title' => 'eduGAIN Access Check', 'expected title') - ->content_like(qr/Error:[\n\s]+format_entityid/, 'expected error message'); + ->content_like(qr/Error:[\n\s]+invalid parameter 'entityid'/, 'expected error message'); my $res = $t->tx()->res(); html_ok($res) or diag_file($res, $test_dir); -- GitLab