Fix test for import_contact
Depending on the number of test ran before this test, the sequence could overlap with the existing ids and fail because the on conflict do update would update multiple rows.
This commit is contained in:
parent
183b8d3ed9
commit
2320cae3f4
|
@ -90,6 +90,8 @@ values (12, 'ABNANL2A')
|
|||
, (13, 'ARBNNL22')
|
||||
;
|
||||
|
||||
-- make sure there is no overlap with selected id above when importing new contacts
|
||||
alter sequence contact_contact_id_seq restart with 14;
|
||||
|
||||
select is( begin_import_contacts(), 'imported_contact', 'Should return the name of the relation to import' );
|
||||
|
||||
|
|
Loading…
Reference in New Issue