[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:55:46 CET 2017


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

--- Comment #9 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
@@ -198,5 @@
>      my $record = C4::AuthoritiesMarc::GetAuthority(1);
>      my $id1 = AddAuthority( $record, undef, 'GEOGR_NAME' );
>      DelAuthority( $id1 );
>      my $id2 = AddAuthority( $record, undef, 'GEOGR_NAME' );
> -    is( $id1, $id2, 'FIXME: Got the same id back, let\'s fix that behavior' );

This should have been isnt in the first place, and the second patch should be
expecting a failure. :)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list