https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42218 --- Comment #19 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 210002 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210002&action=edit Bug 42218: Update test builder to recognise SQL views TestBuilder inserts rows, which is not possible on a view. build() now carps and returns undef when the source is a DBIx::Class::ResultSource::View, and the build_object() sweep over every Koha::Object class skips the classes backed by a view, so Koha::ERM::EUsage::YearlyUsage does not break TestBuilder.t. Assisted-by: Sonnet 5 (Anthropic) Signed-off-by: Clemens Tubach <clemens.tubach@kit.edu> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.