https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42218

--- Comment #12 from Clemens Tubach <[email protected]> ---
Created attachment 209153
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209153&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 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to