https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18226 Bug ID: 18226 Summary: Remove "use Test::DBIx::Class" instantiations' dangerous code duplication Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: gmcharlt@gmail.com Reporter: olli-antti.kivilahti@jns.fi QA Contact: testopia@bugs.koha-community.org Everywhere where Test::DBIx::Class is used, a following blob of code follows: use Test::DBIx::Class { schema_class => 'Koha::Schema', connect_info => ['dbi:SQLite:dbname=:memory:','',''], connect_opts => { name_sep => '.', quote_char => '`', }, fixture_class => '::Populate', }, 'SocialData', 'Biblioitem' ; Instead of duplicating this same code everywhere, use a default configuration for a Test::DBIx::Class in t/etc/schema.pl -- You are receiving this mail because: You are watching all bug changes.