Improve unit test (#1773)

This commit is contained in:
Christophe Maudoux 2019-05-26 18:36:45 +02:00
parent 73fd322e60
commit 39233ccb99

View File

@ -39,6 +39,17 @@ ok(
ok( $res->[0] == 302, 'Code is 302' ) or explain( $res->[0], 302 );
count(2);
ok(
$res = $client->_get(
'/', undef, 'test2.example.com', undef,
VHOSTTYPE => 'ServiceToken',
'HTTP_X_LLNG_TOKEN' => $token,
),
'Query with token'
);
ok( $res->[0] == 302, 'Code is 302' ) or explain( $res->[0], 302 );
count(2);
done_testing( count() );
clean();