Skip to content

Commit 218964e

Browse files
committed
test: add contacts to use as managers
1 parent 8271641 commit 218964e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

schema/test/unit/mutations/commit_form_change_internal_test.sql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,13 @@ insert into cif.operator(legal_name) values ('test operator');
274274
insert into cif.contact(given_name, family_name, email) values ('John', 'Test', 'foo@abc.com'), ('Sandy', 'Olson', 'bar@abc.com');
275275
insert into cif.attachment (description, file_name, file_type, file_size)
276276
values ('description1', 'file_name1', 'file_type1', 100), ('description2', 'file_name2', 'file_type1', 100);
277+
insert into cif.cif_user(id, session_sub, given_name, family_name)
278+
overriding system value
279+
values (1, '11111111-1111-1111-1111-111111111111', 'Jan','Jansen'),
280+
(2, '22222222-2222-2222-2222-222222222222', 'Max','Mustermann'),
281+
(3, '33333333-3333-3333-3333-333333333333', 'Eva', 'Nováková');
277282

283+
-- Create a project to update.
278284
select cif.create_project(1); -- id = 1
279285
update cif.form_change set new_form_data='{
280286
"projectName": "name",

0 commit comments

Comments
 (0)