https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22618 Bug ID: 22618 Summary: Tests in t/Acquisition.t are actually database dependent Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: kyle@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org Target Milestone: --- Here are the results of running t/Acquisition.t without a database set up: t/Acquisition.t .. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 244. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 244. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 244. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 244. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 244. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 244. Use of uninitialized value in concatenation (.) or string at C4/Templates.pm line 154. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 244. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 244. Use of uninitialized value in concatenation (.) or string at C4/Auth_with_cas.pm line 42. unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 244. t/Acquisition.t .. 1/3 unable to locate Koha configuration file koha-conf.xml at C4/Context.pm line 244. Can't call method "config" on unblessed reference at Koha/Database.pm line 56. # Child (Test for get_rounded_price) exited without calling finalize() # Failed test 'Test for get_rounded_price' # at /usr/local/share/perl/5.20.2/Test/Builder.pm line 279. # Looks like you failed 1 test of 3. # Looks like your test exited with 2 just after 3. t/Acquisition.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 1/3 subtests Test Summary Report ------------------- t/Acquisition.t (Wstat: 512 Tests: 3 Failed: 1) Failed test: 3 Non-zero exit status: 2 Files=1, Tests=3, 3 wallclock secs ( 0.03 usr 0.02 sys + 2.11 cusr 0.13 csys = 2.29 CPU) Result: FAIL These tests should be moved to a file in t/db_dependent -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.