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

--- Comment #152 from Marcel de Rooy <[email protected]> ---
Just a few dumb questions:

Name unredact_list Where does this name originate from ?


+        $patron_11_1 = Koha::Patrons->find( $patron_11_1->borrowernumber );
Added a few times. This seems not needed?  Why do you add it?


t/db_dependent/Koha/REST/Plugin/Objects.t 
-      $builder->build_object( { class => 'Koha::Patrons', value => { flags =>
1 } } );
+      $builder->build_object( { class => 'Koha::Patrons', value => { flags =>
0 } } );
=> If I set the user to no permissions, the test still PASSes. Can you point me
to an example in the tests where we can actually see the difference, i.e. where
flags makes a difference?

How do we make sure that we did not forget some calls of patron->to_api with
user parameter ?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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