From: André Walker Date: Wed, 2 May 2012 02:21:21 +0000 (-0300) Subject: adapted the test X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=gsoc_breadboard_with_app_instance adapted the test --- diff --git a/t/lib/TestAppCustomContainer/NoSugarContainer.pm b/t/lib/TestAppCustomContainer/NoSugarContainer.pm index e1439d6..f4ad4d6 100644 --- a/t/lib/TestAppCustomContainer/NoSugarContainer.pm +++ b/t/lib/TestAppCustomContainer/NoSugarContainer.pm @@ -15,7 +15,7 @@ sub BUILD { class => 'TestAppCustomContainer::Model::SingletonLifeCycle', catalyst_component_name => 'TestAppCustomContainer::Model::SingletonLifeCycle', dependencies => { - application_name => depends_on( '/application_name' ), + application => depends_on( '/application' ), }, ) ); @@ -27,7 +27,7 @@ sub BUILD { class => 'TestAppCustomContainer::Model::RequestLifeCycle', catalyst_component_name => 'TestAppCustomContainer::Model::RequestLifeCycle', dependencies => { - application_name => depends_on( '/application_name' ), + application => depends_on( '/application' ), }, ) ); @@ -38,7 +38,7 @@ sub BUILD { # class => 'TestAppCustomContainer::Model::DependsOnDefaultSetup', # catalyst_component_name => 'TestAppCustomContainer::Model::DependsOnDefaultSetup', # dependencies => { -# application_name => depends_on( '/application_name' ), +# application => depends_on( '/application' ), # # FIXME - this is what is blowing up everything: # # DefaultSetup needs the context. It's not getting it here! # foo => depends_on('/model/DefaultSetup'), @@ -65,7 +65,7 @@ sub BUILD { # lifecycle => 'Singleton', # class => 'TestAppCustomContainer::External::Class', # dependencies => [ -# depends_on( '/application_name' ), +# depends_on( '/application' ), # ], # config => $fnar_config, # )