4 use Test::More tests => 2;
6 BEGIN { use_ok 'Catalyst::Test', 'Gitalist' }
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};
13 skip "Set APP_TEST for the tests to run fully",
16 ok( request('/')->is_success, 'Request should succeed' );
18 } # Close APP_TEST skip