wrong expected result
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_core_component_setup_component.t
index 08c0286..c2cab1e 100644 (file)
@@ -1,8 +1,9 @@
 use strict;
 use warnings;
-use Test::More;
+
+# FIXME - backcompat?
+use Test::More skip_all => "Removed setup_component from Catalyst.pm";
 use Moose::Meta::Class;
-use Data::Dumper;
 
 my %config = (
     foo => 42,
@@ -77,7 +78,7 @@ Moose::Meta::Class->create( $regular => (
     $component = eval { TestAppComponent->setup_component($config) };
     ok( !$@, "setup_component doesnt die with $config" );
     is( $message, undef, "no exception thrown" );
-    is_deeply( $component, bless(\%config, $config), "the returned config is correct" );
+    is_deeply( $component, \%config, "the returned config is correct" );
 
     undef $message;
     $component = eval { TestAppComponent->setup_component($dieing) };
@@ -96,4 +97,4 @@ Moose::Meta::Class->create( $regular => (
     isa_ok( $component, $regular, "the returned value is correct" );
 }
 
-done_testing();
+done_testing;