Fix test to not need "parent" (RT #48547)
[catagits/Catalyst-Plugin-ConfigLoader.git] / t / 22-suffix_env.t
CommitLineData
a98f477e 1use strict;
2use warnings;
3
4use FindBin;
5use lib "$FindBin::Bin/lib";
6
7use Test::More tests => 3;
8
9BEGIN {
10 $ENV{ TESTAPP_CONFIG_LOCAL_SUFFIX } = 'test';
11 use_ok 'Catalyst::Test', 'TestApp';
12}
13
14ok my ( $res, $c ) = ctx_request( '/' ), 'context object';
15
16is $c->get_config_local_suffix, 'test', 'suffix is "test"';