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

Fridolin SOMERS <fridolin.som...@biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fridolin.som...@biblibre.co
                   |                            |m
             Status|Needs Signoff               |Failed QA

--- Comment #4 from Fridolin SOMERS <fridolin.som...@biblibre.com> ---
In test :
+    is_deeply(
+        [ map { $_->{borrowernumber} } @{ $search_results->{patrons} } ],
+        [
+            $superlibrarian->borrowernumber,
+            $librarian_with_full_permission->borrowernumber,
+            $librarian_with_subpermission->borrowernumber
+        ],
+        'We got the 3 patrons we expected'
+    );

I get an error because $search_results->{patrons} may not be ordered like
expected array.
Test is OK when adding sort on both arrays.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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/

Reply via email to