X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F100extra_source.t;h=b345ce16cd1896a24423c0ca5643a812fee3931d;hb=24fbd7fba01adfc25b53614f8d713af1bd31ae21;hp=b91795868597731e03c2337293baa02583f5c58f;hpb=4783a9a4721bc599e46de0ef2eed00a900325396;p=dbsrgits%2FDBIx-Class.git diff --git a/t/100extra_source.t b/t/100extra_source.t index b917958..b345ce1 100644 --- a/t/100extra_source.t +++ b/t/100extra_source.t @@ -1,9 +1,11 @@ +BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) } + use strict; use warnings; use Test::More; use Test::Warn; -use lib qw(t/lib); + use DBICTest; { @@ -55,7 +57,7 @@ warnings_like ( isa_ok ($schema->resultset('Artist'), 'DBIx::Class::ResultSet'); }, [ - qr/DBICTest::Artist already has a source, use register_extra_source for additional sources/ + qr/DBICTest::Artist already had a registered source which was replaced by this call/ ], 'registering source to an existing result warns' );