[Bast-commits] r4836 - DBIx-Class/0.08/branches/warnfree/t
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Sun Sep 21 23:34:44 BST 2008
Author: ribasushi
Date: 2008-09-21 23:34:44 +0100 (Sun, 21 Sep 2008)
New Revision: 4836
Modified:
DBIx-Class/0.08/branches/warnfree/t/54taint.t
Log:
Move the taint tests to a non-mainstream schema - hopefully this one will not be disturbed for a while
Modified: DBIx-Class/0.08/branches/warnfree/t/54taint.t
===================================================================
--- DBIx-Class/0.08/branches/warnfree/t/54taint.t 2008-09-21 22:33:18 UTC (rev 4835)
+++ DBIx-Class/0.08/branches/warnfree/t/54taint.t 2008-09-21 22:34:44 UTC (rev 4836)
@@ -13,11 +13,11 @@
: ( tests => 2 );
}
-package DBICTest::Schema;
+package DBICTest::Plain;
-# Use the default test class namespace to avoid the need for a
+# Use the Plain test class namespace to avoid the need for a
# new test infrastructure. If invalid classes will be introduced to
-# 't/lib/DBICTest/Schema/' someday, this has to be reworked.
+# 't/lib/DBICTest/Plain/' someday, this has to be reworked.
use lib qw(t/lib);
@@ -28,6 +28,6 @@
eval{ __PACKAGE__->load_classes() };
cmp_ok( $@, 'eq', '',
'Loading classes with Module::Find worked in taint mode' );
-ok( __PACKAGE__->sources(), 'At least on source has been registered' );
+ok( __PACKAGE__->source('Test'), 'The Plain::Test source has been registered' );
1;
More information about the Bast-commits
mailing list