X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F39load_namespaces_rt41083.t;h=05378c80a0ad64dbf2ee2c9959e2f7b90aeb9294;hb=a9e8284f478f029f6f50c9423c3fa20aa3256d4a;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..05378c8 100644 --- a/t/39load_namespaces_rt41083.t +++ b/t/39load_namespaces_rt41083.t @@ -1,12 +1,9 @@ -#!/usr/bin/perl - 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 +23,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'); - } } {