Commit | Line | Data |
dcd60825 |
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; |