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

fix expected results

parent 77369306
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
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