https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18182 Bug ID: 18182 Summary: TestBuilder should be able to return Koha::Object objects Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Test Suite Assignee: chris@bigballofwax.co.nz Reporter: tomascohen@gmail.com QA Contact: gmcharlt@gmail.com There's a common pattern in most tests we write: my $object_hash = $builder->build({ source => 'TheSchema', value => { fixed => values, ... } }); my $id = $object->{the_id_field}; my $object = Koha::Objects->find($id); < the actual tests > It would be handy to have TestBuilder provide a way to actually retrieve the Koha::Object instance. -- You are receiving this mail because: You are watching all bug changes.