http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11480
Bug ID: 11480
Summary: Tests in Output_JSON.t make invalid assumptions
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Test Suite
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Output_JSON.t fails on current perl release.
Tests in Output_JSON.t assume that items in the generated json string will be
in a consistent order. Internally, though, they are held in a hash, an
unordered container. In perl versions 5.18 and greater the overhaul of of
hashing ensures that hash elements are returned in an unpredictable sequence,
(which was previously the theory). As a result the tests checking the output
should be rewitten not to make assumptions about the order of elements.
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/