From: Yuval Kogman Date: Wed, 30 Jul 2008 06:20:28 +0000 (+0000) Subject: foo X-Git-Tag: v0.900201~75 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class-Journal.git;a=commitdiff_plain;h=43449fa617b8359bcd123e07d4c16715159015bd foo --- diff --git a/t/02noautodeploy.t b/t/02noautodeploy.t index 4e40910..b8f0328 100644 --- a/t/02noautodeploy.t +++ b/t/02noautodeploy.t @@ -21,16 +21,16 @@ isa_ok($schema->_journal_schema->source('CDAuditHistory'), 'DBIx::Class::ResultS isa_ok($schema->_journal_schema->source('ArtistAuditLog'), 'DBIx::Class::ResultSource', 'ArtistAuditLog source exists'); my $count = eval { - $schema->_journal_schema->resultset('ArtistAuditHistory')->count; + $schema->_journal_schema->resultset('ChangeLog')->count; }; my $e = $@; is( $count, undef, "no count" ); -like( $e, qr/table.*artist_audit_log/i, "missing table error" ); +like( $e, qr/table.*changelog/, "missing table error" ); $schema->journal_schema_deploy(); -$count = eval { $schema->_journal_schema->resultset('ArtistAuditHistory')->count }; +$count = eval { $schema->_journal_schema->resultset('ChangeLog')->count }; is( $@, '', "no error" ); is( $count, 0, "count is 0" );