Drop #2594 workarounds in tests
This commit is contained in:
parent
3f42113229
commit
315e573d9f
|
@ -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",
|
||||
),
|
||||
|
|
|
@ -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',
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue