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

--- Comment #8 from M. Tompsett <[email protected]> ---
Comment on attachment 59669
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59669
Bug 18014: AddAuthority should respect AUTO_INCREMENT

Review of attachment 59669:
 --> 
(https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=18014&attachment=59669)
-----------------------------------------------------------------

::: t/db_dependent/AuthoritiesMarc.t
@@ +201,5 @@
>      my $id2 = AddAuthority( $record, undef, 'GEOGR_NAME' );
> +    isnt( $id1, $id2, 'Do not return the same id again' );
> +    t::lib::Mocks::mock_preference( 'marcflavour', 'UNIMARC' );
> +    my $id3 = AddAuthority( $record, undef, 'GEOGR_NAME' );
> +    is( $id3 > 0, 1, 'Tested AddAuthority with UNIMARC' );

ok($id3>0,'...') would have been better.

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

Reply via email to