RSS Git Download  Clone
Raw Blame History
use Test::WWW::Mechanize;
use LWP::Protocol::PSGI;

use Test::More import => ['!pass']; # tests => 3;

use RequestForm::Test;
use RequestForm;

my $psgi_app = RequestForm::runner()->psgi_app;
LWP::Protocol::PSGI->register($psgi_app);

my $mech = Test::WWW::Mechanize->new;
my $args = form_tokens(); # warn $args;

$mech->get_ok(
    "http://localhost/?$args",
    'OK: route handler is defined for /',
);                                                         # print_output($mech);

done_testing;