X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Funit_core_container_mock_load.t;h=b2af3aeafd82725d14c24045e1d0600370e869b8;hb=gsoc_breadboard_split_get_all_components;hp=9a04b2d69e6afb90c073a8dec33a1565c637d513;hpb=663a4f349d0ee272c1edfa107f30962bbe8ce532;p=catagits%2FCatalyst-Runtime.git diff --git a/t/aggregate/unit_core_container_mock_load.t b/t/aggregate/unit_core_container_mock_load.t index 9a04b2d..b2af3ae 100644 --- a/t/aggregate/unit_core_container_mock_load.t +++ b/t/aggregate/unit_core_container_mock_load.t @@ -1,6 +1,6 @@ package MockApp; -use Test::More tests => 10; +use Test::More; use Cwd; # Remove all relevant env variables to avoid accidental fail @@ -8,7 +8,7 @@ foreach my $name ( grep { m{^(CATALYST)} } keys %ENV ) { delete $ENV{ $name }; } -$ENV{ CATALYST_HOME } = cwd . '/t/mockapp'; +$ENV{ CATALYST_HOME } = cwd . '/t/lib/MockAppConfigLoader'; use_ok( 'Catalyst' ); @@ -27,3 +27,5 @@ is( $conf->{ 'view' }, 'View::TT::New' ); is( $conf->{ 'foo_sub' }, 'x-y' ); is( $conf->{ 'literal_macro' }, '__DATA__', 'literal macro' ); is( $conf->{ 'Plugin::Zot' }->{ zoot }, 'zooot'); + +done_testing;