fixed failing test in podcoverage, fixed regression in replication test that caused...
John Napiorkowski [Fri, 30 May 2008 00:18:39 +0000 (00:18 +0000)]
t/03podcoverage.t
t/93storage_replication.t

index cfa08de..bb2bb27 100644 (file)
@@ -98,9 +98,8 @@ my $exceptions = {
 
     'DBIx::Class::Schema::Versioned' => { ignore => [ qw(connection) ] },
 
-# must kill authors.
-
-    'DBIx::Class::Storage::DBI::Replicated' => { skip => 1 },
+# don't bother since it's heavily deprecated
+    'DBIx::Class::ResultSetManager' => { skip => 1 },
 };
 
 foreach my $module (@modules) {
index b2b3732..419f2fe 100644 (file)
@@ -243,6 +243,8 @@ $replicated
 ## Make sure all the slaves have the table definitions
 
 $replicated->replicate;
+$replicated->schema->storage->replicants->{$replicant_names[0]}->active(1);
+$replicated->schema->storage->replicants->{$replicant_names[1]}->active(1);
 
 ## Make sure we can read the data.