Release commit for 5.90128
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_core_component.t
index 9fb578a..31830a6 100644 (file)
@@ -1,4 +1,4 @@
-use Test::More tests => 23;
+use Test::More tests => 22;
 use strict;
 use warnings;
 
@@ -14,7 +14,7 @@ my @complist = map { "MyApp::$_"; } qw/C::Controller M::Model V::View/;
   __PACKAGE__->components({ map { ($_, $_) } @complist });
 
   # this is so $c->log->warn will work
-  __PACKAGE__->setup_log;
+  __PACKAGE__->setup_log('fatal');
 }
 
 is(MyApp->comp('MyApp::V::View'), 'MyApp::V::View', 'Explicit return ok');
@@ -91,18 +91,3 @@ is_deeply([ MyApp->comp('Foo') ], \@complist, 'Fallthrough return ok');
     is_deeply($args, [qw/foo3 bar3/], 'args passed to ACCEPT_CONTEXT ok');
 }
 
-# BUILDARGS logic
-{
-    {
-        package MyController;
-        @MyController::ISA = ('Catalyst::Controller');
-    }
-    my $warning;
-    local $SIG{__WARN__} = sub {
-        $warning = shift;
-        diag($warning);
-    };
-    my $controller = MyController->new('MyApp', undef);
-    like( $warning, qr/uninitialized value in string eq/, "no warning for == comparison");
-
-}