Skip to content

Commit 41104a7

Browse files
committed
test: typecast values in test resturn
1 parent 86c0e13 commit 41104a7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

schema/test/unit/mutations/commit_form_change_internal_test.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ select results_eq (
164164
'After committing the pending form change, the project table has all of the correct values'
165165
);
166166

167+
-- Test when committing has made changes to the form but the pending has not
168+
167169

168170
select finish();
169171

schema/test/unit/mutations/commit_project_revision_test.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ select results_eq (
289289
(select project_name, summary from cif.project where id = 1 limit 1)
290290
$$,
291291
$$
292-
values("Correct", "Correct")
292+
values("Correct"::varchar, "Correct"::varchar)
293293
$$,
294294
'The project table has the correct data after the Amendment is committed'
295295
);

0 commit comments

Comments
 (0)