http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14256
--- Comment #1 from Jonathan Druart <[email protected]> --- To reproduce diff --git a/t/db_dependent/TestBuilder.t b/t/db_dependent/TestBuilder.t index bec4834..93e3fb8 100644 --- a/t/db_dependent/TestBuilder.t +++ b/t/db_dependent/TestBuilder.t @@ -31,8 +31,9 @@ is( $builder->build(), undef, 'build without arguments returns undef' ); my @sources = $builder->schema->sources; my $nb_failure = 0; +@sources = ('Koha::Schema::Result::Borrower') x 1000; for my $source (@sources) { - eval { $builder->build( { source => $source } ); }; + $builder->build( { source => $source } ); $nb_failure++ if ($@); } is( $nb_failure, 0, 'TestBuilder can create a entry for every sources' ); -- 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/
