X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F39load_namespaces_rt41083.t;h=79c9c7a31f49355d5ef68a595f856cc02313f6a0;hb=445bc0cd67d1176df63280ecbb415cd768a7c6df;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..79c9c7a 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'); - } } {