[Koha-bugs] [Bug 18014] AddAuthority should respect AUTO_INCREMENT
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 31 19:42:02 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18014
--- Comment #8 from M. Tompsett <mtompset at hotmail.com> ---
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.
More information about the Koha-bugs
mailing list