View | Details | Raw Unified | Return to bug 26326
Collapse All | Expand All

(-)a/Koha/Import/Record.pm (-2 / +2 lines)
Lines 29-40 Koha::Import::Record - Koha Import Record Object class Link Here
29
29
30
=head1 API
30
=head1 API
31
31
32
=head2 Class methods
33
34
=head2 Internal methods
32
=head2 Internal methods
35
33
36
=head3 _type
34
=head3 _type
37
35
36
Returns name of corresponding DBIC resultset
37
38
=cut
38
=cut
39
39
40
sub _type {
40
sub _type {
(-)a/Koha/Import/Record/Matches.pm (-1 / +1 lines)
Lines 39-45 Koha::Import::Record::Matches - Koha Import Record Matches Object set class Link Here
39
39
40
Koha:Import::Record::Matches->search->unset_chosen();
40
Koha:Import::Record::Matches->search->unset_chosen();
41
41
42
Unselect all candidates as matches for the current resultset
42
Deselect all candidates as matches for the current resultset
43
43
44
=cut
44
=cut
45
45
(-)a/t/db_dependent/Installer.t (-5 lines)
Lines 70-83 ok( ! index_exists( 'borrowers', 'xxx'), 'Constraint xxx does not exist' ); Link Here
70
ok( foreign_key_exists( 'borrowers', 'borrowers_ibfk_1' ), 'FK borrowers_ibfk_1 exists' );
70
ok( foreign_key_exists( 'borrowers', 'borrowers_ibfk_1' ), 'FK borrowers_ibfk_1 exists' );
71
ok( ! foreign_key_exists( 'borrowers', 'xxx' ), 'FK xxxx does not exist' );
71
ok( ! foreign_key_exists( 'borrowers', 'xxx' ), 'FK xxxx does not exist' );
72
72
73
<<<<<<< HEAD
74
ok( unique_key_exists( 'items', 'itembarcodeidx' ), 'UNIQUE KEY itembarcodeidx exists' );
73
ok( unique_key_exists( 'items', 'itembarcodeidx' ), 'UNIQUE KEY itembarcodeidx exists' );
75
ok( ! unique_key_exists( 'borrowers', 'xxx' ), 'UNIQUE KEY xxxx does not exist' );
74
ok( ! unique_key_exists( 'borrowers', 'xxx' ), 'UNIQUE KEY xxxx does not exist' );
76
75
77
78
=======
79
ok( primary_key_exists( 'borrowers' ), 'Borrowers does have a primary key on some column');
76
ok( primary_key_exists( 'borrowers' ), 'Borrowers does have a primary key on some column');
80
>>>>>>> Bug 26326: (follow-up) Add ability to check for existence of any primary key
81
ok( primary_key_exists( 'borrowers', 'borrowernumber'), 'Borrowers has primary key on borrowernumber');
77
ok( primary_key_exists( 'borrowers', 'borrowernumber'), 'Borrowers has primary key on borrowernumber');
82
ok( ! primary_key_exists( 'borrowers', 'email'), 'Borrowers does not have a primary key on email');
78
ok( ! primary_key_exists( 'borrowers', 'email'), 'Borrowers does not have a primary key on email');
83
79
84
- 

Return to bug 26326