Lots of madness gsoc_breadboard_plugin_errors
Tomas Doran [Mon, 18 Jul 2011 14:58:09 +0000 (15:58 +0100)]
lib/Catalyst.pm
t/aggregate/unit_core_plugin.t

index 53e06a9..73b36c8 100644 (file)
@@ -740,7 +740,7 @@ sub component {
     # I'm keeping it temporarily for things like $c->comp('MyApp')
     #return $c->components->{$component}
     #    if exists $c->components->{$component} and !@args;
-
+    Carp::cluck("MOO") if $component eq "PluginTestApp";
     $c->log->warn("Looking for '$component', but nothing was found.");
 
     # I would expect to return an empty list here, but that breaks back-compat
index 16a5e24..301df7c 100644 (file)
@@ -32,7 +32,7 @@ my $logger = Class::MOP::Class->create_anon_class(
         },
     },
 )->new_object;
-PluginTestApp->log($logger);
+#PluginTestApp->log($logger);
 
 use Catalyst::Test qw/PluginTestApp/;