From: John Napiorkowski Date: Fri, 30 May 2008 00:18:39 +0000 (+0000) Subject: fixed failing test in podcoverage, fixed regression in replication test that caused... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5c1d82d2851b1a019720b111321a3a05ad554fc0;p=dbsrgits%2FDBIx-Class-Historic.git fixed failing test in podcoverage, fixed regression in replication test that caused the default fake sqlite replication to fail. not so important since sqlite doesnt replicate but we do not like to see failing tests. --- diff --git a/t/03podcoverage.t b/t/03podcoverage.t index cfa08de..bb2bb27 100644 --- a/t/03podcoverage.t +++ b/t/03podcoverage.t @@ -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) { diff --git a/t/93storage_replication.t b/t/93storage_replication.t index b2b3732..419f2fe 100644 --- a/t/93storage_replication.t +++ b/t/93storage_replication.t @@ -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.