Show
Ignore:
Timestamp:
11/30/08 00:43:52 (5 years ago)
Author:
tokuhirom
Message:

fixed test case

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Net-OpenID-Consumer-Lite/trunk/xt/001_mixi.t

    r25320 r25352  
    11use strict; 
    22use warnings; 
    3 use Test::More tests => 2; 
     3use Test::More tests => 1; 
    44use URI; 
    55use Net::OpenID::Consumer::Lite; 
    66 
    77my $check_url = Net::OpenID::Consumer::Lite->check_url('https://mixi.jp/openid_server.pl', 'http://example.com/'); 
    8 is $check_url, 'http://example.com/?openid.mode=id_res&openid.user_setup_url=https%3A%2F%2Fmixi.jp%2Fopenid_server.pl%3Fopenid.mode%3Dcheckid_setup%26openid.return_to%3Dhttp%253A%252F%252Fexample.com%252F'; 
    9 is +{URI->new($check_url)->query_form}->{'openid.user_setup_url'}, 'https://mixi.jp/openid_server.pl?openid.mode=checkid_setup&openid.return_to=http%3A%2F%2Fexample.com%2F'; 
     8is $check_url, 'https://mixi.jp/openid_server.pl?openid.mode=checkid_immediate&openid.return_to=http%3A%2F%2Fexample.com%2F'; 
    109