for my $sub_container_name (qw/model view controller/) {
my $sub_container = $self->get_sub_container($sub_container_name);
for my $service ( $sub_container->get_service_list ) {
- my $comp = $self->resolve(service => $service);
+ my $comp = $sub_container->resolve(service => $service);
my $compname = ref $comp || $comp;
my $type = ref $comp ? 'instance' : 'class';
push @comps_names_types, [ $compname, $type ];
local $SIG{__WARN__} = sub { $last_warning = shift };
my $res = get('/');
}
+
+# FIXME - is this test really useful?
+# it doesn't change anything if we remove the show_internal_actions => 1 line
+# from TestAppShowInternalActions
is( $last_warning, undef, 'there should be no warnings about uninitialized value' );
done_testing;