projects
/
dbsrgits/DBIx-Class-DeploymentHandler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
12fdd46
)
more load tests and fixes for tests
Arthur Axel 'fREW' Schmidt [Mon, 22 Feb 2010 05:41:30 +0000 (23:41 -0600)]
lib/DBIx/Class/DeploymentHandler/Component.pm
patch
|
blob
|
blame
|
history
t/01-load.t
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/DeploymentHandler/Component.pm
b/lib/DBIx/Class/DeploymentHandler/Component.pm
index
33bf3a8
..
0c2ef93
100644
(file)
--- a/
lib/DBIx/Class/DeploymentHandler/Component.pm
+++ b/
lib/DBIx/Class/DeploymentHandler/Component.pm
@@
-3,11
+3,13
@@
package DBIx::Class::DepolymentHandler::Component;
use strict;
use warnings;
+use Carp 'carp';
+
sub connection {
my $self = shift;
$self->next::method(@_);
- $args = $_[3] || {};
+ my $args = $_[3] || {};
return if $args->{ignore_version} || $ENV{DBIC_NO_VERSION_CHECK};
diff --git
a/t/01-load.t
b/t/01-load.t
index
8c28e61
..
cccff7d
100644
(file)
--- a/
t/01-load.t
+++ b/
t/01-load.t
@@
-4,5
+4,8
@@
use Test::More;
use lib 't/lib';
use_ok 'DBIx::Class::DeploymentHandler';
+use_ok 'DBIx::Class::DeploymentHandler::VersionResult';
+use_ok 'DBIx::Class::DeploymentHandler::VersionResultSet';
+use_ok 'DBIx::Class::DeploymentHandler::Component';
done_testing;