Merge branch 'master' into gsoc_breadboard
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_core_container_suffix_env.t
1 use strict;
2 use warnings;
3
4 use FindBin;
5 use lib "$FindBin::Bin/../lib";
6
7 use Test::More;
8
9 $ENV{ TESTAPPCONTAINER_CONFIG_LOCAL_SUFFIX } = 'test';
10 use_ok 'Catalyst::Test', 'TestAppContainer';
11
12 ok my ( $res, $c ) = ctx_request( '/' ), 'context object';
13
14 is $c->container->resolve( service => 'config_local_suffix' ), 'test', 'suffix is "test"';
15
16 done_testing;