Drop #2594 workarounds in tests

This commit is contained in:
Yadd 2022-02-01 13:25:09 +01:00
parent 3f42113229
commit 315e573d9f
2 changed files with 4 additions and 4 deletions

View File

@ -115,12 +115,12 @@ ok(
count(1);
# We now should be logged in, but lost the original URL
expectRedirection( $res, "http://auth.op.com//oauth2" );
expectRedirection( $res, "http://auth.op.com/oauth2" );
my $id = expectCookie($res);
ok(
$res = $op->_get(
'//oauth2',
'/oauth2',
accept => 'text/html',
cookie => "lemonldap=$id; lemonldappdata=$pdata",
),

View File

@ -142,12 +142,12 @@ SKIP: {
);
my $id = expectCookie($res);
$pdata = expectCookie( $res, 'lemonldappdata' );
expectRedirection( $res, qr'http://auth.example.com//cas' );
expectRedirection( $res, qr'http://auth.example.com/cas' );
# Follow redirection to TOTP form
ok(
$res = $client->_get(
'//cas',
'/cas',
cookie => "lemonldap=$id; lemonldappdata=$pdata",
accept => 'text/html',
),