Commit | Line | Data |
89de6a33 |
1 | #!/usr/bin/env perl |
2 | use strict; |
3 | use warnings; |
4 | use Test::More tests => 2; |
5 | |
6 | BEGIN { use_ok 'Catalyst::Test', 'Gitalist' } |
7 | |
28e35997 |
8 | # Full tests are only run if the APP_TEST env var is set. |
9 | # This is needed to load the test configuration. |
10 | diag("*** SKIPPING app tests. |
11 | *** Set APP_TEST for the tests to run fully") if !$ENV{APP_TEST}; |
12 | SKIP: { |
13 | skip "Set APP_TEST for the tests to run fully", |
14 | 1 if !$ENV{APP_TEST}; |
15 | |
89de6a33 |
16 | ok( request('/')->is_success, 'Request should succeed' ); |
28e35997 |
17 | |
4805c465 |
18 | } # Close APP_TEST skip |