Commit 5a0bf72d authored by Clément OUDOT's avatar Clément OUDOT

Fix warnings in RPM build (#1559)

parent 182a7a69
...@@ -147,7 +147,7 @@ $op->logout($idpId); ...@@ -147,7 +147,7 @@ $op->logout($idpId);
# Query RP for auth # Query RP for auth
ok( $res = $rp->_get( '/', accept => 'text/html' ), 'Unauth SP request' ); ok( $res = $rp->_get( '/', accept => 'text/html' ), 'Unauth SP request' );
count(1); count(1);
my ( $url, $query ) = ( $url, $query ) =
expectRedirection( $res, qr#http://auth.op.com(/oauth2/authorize)\?(.*)$# ); expectRedirection( $res, qr#http://auth.op.com(/oauth2/authorize)\?(.*)$# );
# Rewrite response_type to use implicit # Rewrite response_type to use implicit
......
...@@ -114,7 +114,6 @@ SKIP: { ...@@ -114,7 +114,6 @@ SKIP: {
), ),
'Launch SAML request to IdP' 'Launch SAML request to IdP'
); );
my $tmp;
my $idpPdata = 'lemonldappdata=' . expectCookie( $res, 'lemonldappdata' ); my $idpPdata = 'lemonldappdata=' . expectCookie( $res, 'lemonldappdata' );
# Try to authenticate to IdP # Try to authenticate to IdP
......
...@@ -136,7 +136,6 @@ SKIP: { ...@@ -136,7 +136,6 @@ SKIP: {
'Launch SAML request to IdP' 'Launch SAML request to IdP'
); );
my $idpPdata = 'lemonldappdata=' . expectCookie( $res, 'lemonldappdata' ); my $idpPdata = 'lemonldappdata=' . expectCookie( $res, 'lemonldappdata' );
my $tmp;
# Try to authenticate to IdP # Try to authenticate to IdP
my $body = $res->[2]->[0]; my $body = $res->[2]->[0];
......
...@@ -138,7 +138,6 @@ SKIP: { ...@@ -138,7 +138,6 @@ SKIP: {
'Launch SAML request to IdP' 'Launch SAML request to IdP'
); );
my $idpPdata = 'lemonldappdata=' . expectCookie( $res, 'lemonldappdata' ); my $idpPdata = 'lemonldappdata=' . expectCookie( $res, 'lemonldappdata' );
my $tmp;
# Try to authenticate to IdP # Try to authenticate to IdP
my $body = $res->[2]->[0]; my $body = $res->[2]->[0];
......
...@@ -45,7 +45,6 @@ count(1); ...@@ -45,7 +45,6 @@ count(1);
# Try yo authenticate # Try yo authenticate
# ------------------- # -------------------
my $res;
ok( ok(
$res = $client->_post( $res = $client->_post(
'/', '/',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment