Obsolete
/
dnsmanagerv1
Archived
3
0
Fork 0
This repository has been archived on 2024-06-18. You can view files and clone it, but cannot push or open issues/pull-requests.
dnsmanagerv1/t/002_index_route.t

16 lines
304 B
Perl

use strict;
use warnings;
use MyWeb::App;
use Test::More tests => 2;
use Plack::Test;
use HTTP::Request::Common;
my $app = MyWeb::App->to_app;
is( ref $app, 'CODE', 'Got app' );
my $test = Plack::Test->create($app);
my $res = $test->request( GET '/' );
ok( $res->is_success, '[GET /] successful' );