Fixup several tests silently broken by 12e7015a
authorPeter Rabbitson <ribasushi@cpan.org>
Mon, 12 Sep 2016 12:12:35 +0000 (14:12 +0200)
committerPeter Rabbitson <ribasushi@cpan.org>
Tue, 13 Sep 2016 15:34:02 +0000 (17:34 +0200)
commit3aa25d8b47104964c689be4ca8c1fc5b17781a7f
treecf23c1f4bfb22dc976b731d3640d4b7f3247130b
parentadcc1df0049e0093cb94c867bd2be8c9fe242a61
Fixup several tests silently broken by 12e7015a

A number of tests that we do not run during CI (lack of RDBMS) have run-time
tests concerning backcompat along the lines of:

  $schema->class('Artist')->load_components('PK::Auto...')

The above causes the class' mro to be switched after $schema instantiation
and subsequently triggers the sanitychecker. Instead of ripping these lines
out (without a way to test them) - simply augment the ::Artist based set of
classes to preempt the check failures in the first place.
lib/DBIx/Class/Schema/SanityChecker.pm
t/lib/DBICTest/Base.pm
t/lib/DBICTest/Schema/Artist.pm
t/lib/DBICTest/Schema/ArtistSourceName.pm
t/lib/DBICTest/Schema/ArtistSubclass.pm
t/lib/DBICTest/Schema/CustomSql.pm