9ec08a48bbb3cec0288e41ca5051c63cc16e2f88
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_core_container_applevel_config.t
1 #!perl
2
3 use FindBin;
4 use lib "$FindBin::Bin/../lib";
5
6 use Test::More;
7 use TestAppContainer;
8
9 my $applevel_config = TestAppContainer->container->resolve(service => 'config')->{applevel_config};
10
11 ok($applevel_config, 'applevel_config exists in the container');
12 is($applevel_config, 'foo', 'and has the correct value');
13
14 $applevel_config = TestAppContainer->config->{applevel_config};
15
16 ok($applevel_config, 'applevel_config exists in the config accessor');
17 is($applevel_config, 'foo', 'and has the correct value');
18
19 done_testing;