Added failing tests for `external`, fix for tests
authorCharlie Garrison <cngarrison@gmail.com>
Wed, 19 Oct 2016 02:43:42 +0000 (13:43 +1100)
committerCharlie Garrison <cngarrison@gmail.com>
Wed, 19 Oct 2016 02:43:42 +0000 (13:43 +1100)
commit3d4debec185c87acba106e27e0b4ab6ded4bc041
treee7c80a55b1d7458bf0df927327c78d203c5a7524
parent767afa139698fa1642c909ad2e9e8fa9f5de687c
Added failing tests for `external`, fix for tests

If config follows has_many to dump a set, the set’s config is not used, so attrs such as `external` are not honoured. Even using `rules` does not solve the problem. Using unsorted `sets` array to specify dump order solves the problem.

Signed-off-by: Charlie Garrison <cngarrison@gmail.com>
lib/DBIx/Class/Fixtures.pm
t/18-extra.t
t/lib/ExtraTest/Schema.pm
t/var/configs/extra.json