Drop #2594 workarounds in tests
This commit is contained in:
parent
3f42113229
commit
315e573d9f
|
@ -115,12 +115,12 @@ ok(
|
||||||
count(1);
|
count(1);
|
||||||
|
|
||||||
# We now should be logged in, but lost the original URL
|
# 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);
|
my $id = expectCookie($res);
|
||||||
|
|
||||||
ok(
|
ok(
|
||||||
$res = $op->_get(
|
$res = $op->_get(
|
||||||
'//oauth2',
|
'/oauth2',
|
||||||
accept => 'text/html',
|
accept => 'text/html',
|
||||||
cookie => "lemonldap=$id; lemonldappdata=$pdata",
|
cookie => "lemonldap=$id; lemonldappdata=$pdata",
|
||||||
),
|
),
|
||||||
|
|
|
@ -142,12 +142,12 @@ SKIP: {
|
||||||
);
|
);
|
||||||
my $id = expectCookie($res);
|
my $id = expectCookie($res);
|
||||||
$pdata = expectCookie( $res, 'lemonldappdata' );
|
$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
|
# Follow redirection to TOTP form
|
||||||
ok(
|
ok(
|
||||||
$res = $client->_get(
|
$res = $client->_get(
|
||||||
'//cas',
|
'/cas',
|
||||||
cookie => "lemonldap=$id; lemonldappdata=$pdata",
|
cookie => "lemonldap=$id; lemonldappdata=$pdata",
|
||||||
accept => 'text/html',
|
accept => 'text/html',
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user