Fix circular relationship diagnostics
Dagfinn Ilmari Mannsåker [Wed, 21 Jan 2015 19:15:48 +0000 (19:15 +0000)]
t/backcompat/0.04006/lib/dbixcsl_common_tests.pm

index cbd6c1e..c29ed4e 100644 (file)
@@ -438,8 +438,8 @@ sub run_tests {
             };
             is($@, '', 'No errors after eval{}')
                 or do {
-                    diag explain $class11->relationship_info('loader_test10');
-                    diag explain $class10->relationship_info('loader_test11');
+                    diag explain $rsobj10->result_source->relationship_info('loader_test11');
+                    diag explain $rsobj11->result_source->relationship_info('loader_test10');
                 };
 
             SKIP: {