Fix TODO tests to only mark exactly the failing tests as TODO
[dbsrgits/DBIx-Class.git] / t / row / inflate_result.t
index b020ab5..3ab2271 100644 (file)
@@ -87,11 +87,11 @@ ok(
 );
 
 TODO: {
-    local $TODO = 'New objects should also be inflated';
     my $user  = $schema->resultset('User')->create($user_data);
     my $admin = $schema->resultset('User')->create($admin_data);
 
     is( ref $user,  'My::Schema::Result::User' );
+    local $TODO = 'New objects should also be inflated';
     is( ref $admin, 'My::Schema::Result::User::Admin' );
 }