Fix unit test for #2730
This commit is contained in:
parent
e1f6534bbe
commit
bfd8e382c4
|
@ -5,6 +5,7 @@ use IO::String;
|
||||||
use LWP::UserAgent;
|
use LWP::UserAgent;
|
||||||
use LWP::Protocol::PSGI;
|
use LWP::Protocol::PSGI;
|
||||||
use MIME::Base64;
|
use MIME::Base64;
|
||||||
|
use URI::QueryParam;
|
||||||
|
|
||||||
BEGIN {
|
BEGIN {
|
||||||
require 't/test-lib.pm';
|
require 't/test-lib.pm';
|
||||||
|
@ -298,7 +299,9 @@ count(1);
|
||||||
( $url, $query ) =
|
( $url, $query ) =
|
||||||
expectRedirection( $res, qr#^http://auth.op.com(/oauth2/authorize)\?(.*)$# );
|
expectRedirection( $res, qr#^http://auth.op.com(/oauth2/authorize)\?(.*)$# );
|
||||||
|
|
||||||
like( $query, qr/my_param=my\+value/,
|
my $u = URI->new;
|
||||||
|
$u->query($query);
|
||||||
|
is( $u->query_param('my_param'), "my value",
|
||||||
"oidcGenerateAuthenticationRequest called" );
|
"oidcGenerateAuthenticationRequest called" );
|
||||||
count(1);
|
count(1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user