X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F53lean_startup.t;h=311fa24a2e857c937c9a25ed57aa5cd52d1f7e10;hb=21aa86aae083ccb5b94ba994dec030627e95e40b;hp=e106da224e86f03ee4dab0573cb5487c19dda682;hpb=8c49cf15d576f554c2405abd4ebea7cdde053019;p=dbsrgits%2FDBIx-Class.git diff --git a/t/53lean_startup.t b/t/53lean_startup.t index e106da2..311fa24 100644 --- a/t/53lean_startup.t +++ b/t/53lean_startup.t @@ -151,9 +151,15 @@ BEGIN { # and do full populate() as well, just in case - shouldn't add new stuff { - require DBICTest; + local $ENV{DBICTEST_SQLITE_REVERSE_DEFAULT_ORDER}; + { + # in general we do not want DBICTest to load before sqla, but it is + # ok to cheat here + local $INC{'SQL/Abstract.pm'}; + require DBICTest; + } my $s = DBICTest->init_schema; - is ($s->resultset('Artist')->next->name, 'Caterwauler McCrae'); + is ($s->resultset('Artist')->find(1)->name, 'Caterwauler McCrae'); assert_no_missing_expected_requires(); }