X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F39load_namespaces_rt41083.t;h=293506bfdcc257cf81ecd714b917fe6a885f7183;hb=bfa46eb523fff8ece9b37a48d17b90510f1c8c52;hp=3b0fed1e2356e814ef2204ddd0f3a51cdc0f5279;hpb=f5ceba67b5c709e62848950e098256e86943fb70;p=dbsrgits%2FDBIx-Class.git diff --git a/t/39load_namespaces_rt41083.t b/t/39load_namespaces_rt41083.t index 3b0fed1..293506b 100644 --- a/t/39load_namespaces_rt41083.t +++ b/t/39load_namespaces_rt41083.t @@ -2,11 +2,10 @@ use strict; use warnings; -use Test::More; use lib 't/lib'; - -plan tests => 15; +use DBICTest; # do not remove even though it is not used +use Test::More tests => 8; sub _chk_warning { defined $_[0]? @@ -26,16 +25,6 @@ sub _verify_sources { \@monikers, 'List of resultsource registrations', ); - - my %seen_rc; - for my $m (@monikers) { - my $src = DBICNSTest::RtBug41083->source ($m); - my $rc = $src->result_class; - - ok ( (++$seen_rc{$rc} == 1), "result_class of $m is unique") - || diag "Source: $m, result_class: $rc"; - like ($rc, qr/:: $m $/x, 'result_class matches moniker'); - } } {