[Bast-commits] r4686 - trunk/DBIx-Class-Journal/t
nothingmuch at dev.catalyst.perl.org
nothingmuch at dev.catalyst.perl.org
Wed Jul 30 07:20:29 BST 2008
Author: nothingmuch
Date: 2008-07-30 07:20:28 +0100 (Wed, 30 Jul 2008)
New Revision: 4686
Modified:
trunk/DBIx-Class-Journal/t/02noautodeploy.t
Log:
foo
Modified: trunk/DBIx-Class-Journal/t/02noautodeploy.t
===================================================================
--- trunk/DBIx-Class-Journal/t/02noautodeploy.t 2008-07-30 06:17:12 UTC (rev 4685)
+++ trunk/DBIx-Class-Journal/t/02noautodeploy.t 2008-07-30 06:20:28 UTC (rev 4686)
@@ -21,16 +21,16 @@
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" );
More information about the Bast-commits
mailing list