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

--- Comment #13 from Jonathan Druart <[email protected]> 
---
(In reply to Nick Clemens from comment #12)
> Created attachment 113704 [details] [review]
> Bug 26984: (follow-up) Don't delete patrons and checkouts in Objects.t
> 
> Rather than counting all and assuriing we get 10, we can count all, add 10,
> and ensure the numbers still match

We want 10 and only 10 patrons, we don't want pagination:

  my $patrons = Koha::Patrons->search();
  is( $patrons->count, 10, 'Search returns all patrons' );
  ok( !$patrons->is_paged, 'Search is not paged' );

I haven't tried, but I am expecting your patch to make the tests fail if there
are existing patrons in the DB. Don't they? If so the test is buggy I'd say...

-- 
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