From: Rafael Kitover Date: Fri, 2 Mar 2012 15:27:05 +0000 (-0500) Subject: fixup X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d5704252bf0166f17b63c697fbf3611b34be053e;p=dbsrgits%2FDBIx-Class.git fixup --- diff --git a/t/lib/DBICTest/ResultSetManager.pm b/t/lib/DBICTest/ResultSetManager.pm index 1fafbf0..ae16399 100644 --- a/t/lib/DBICTest/ResultSetManager.pm +++ b/t/lib/DBICTest/ResultSetManager.pm @@ -2,6 +2,6 @@ package # hide from PAUSE DBICTest::ResultSetManager; use base 'DBIx::Class::Schema'; -__PACKAGE__->load_classes("Foo"); +__PACKAGE__->lazy_load_classes("Foo"); 1; diff --git a/t/lib/DBICTest/Schema.pm b/t/lib/DBICTest/Schema.pm index 937aa77..3be0979 100644 --- a/t/lib/DBICTest/Schema.pm +++ b/t/lib/DBICTest/Schema.pm @@ -7,7 +7,7 @@ no warnings qw/qw/; __PACKAGE__->mk_group_accessors(simple => 'custom_attr'); -__PACKAGE__->load_classes(qw/ +__PACKAGE__->lazy_load_classes(qw/ Artist SequenceTest BindType diff --git a/t/lib/ViewDeps.pm b/t/lib/ViewDeps.pm index 6c3a311..c00d347 100644 --- a/t/lib/ViewDeps.pm +++ b/t/lib/ViewDeps.pm @@ -6,7 +6,7 @@ use strict; use warnings; use base 'DBIx::Class::Schema'; -__PACKAGE__->load_namespaces; +__PACKAGE__->load_namespaces(lazy => 1); sub sqlt_deploy_hook { my $self = shift; diff --git a/t/lib/ViewDepsBad.pm b/t/lib/ViewDepsBad.pm index 9b5be12..0041568 100644 --- a/t/lib/ViewDepsBad.pm +++ b/t/lib/ViewDepsBad.pm @@ -6,7 +6,7 @@ use strict; use warnings; use base 'DBIx::Class::Schema'; -__PACKAGE__->load_namespaces; +__PACKAGE__->load_namespaces(lazy => 1); sub sqlt_deploy_hook { my $self = shift;