From 25982f1c5a31fa4df38e2a0b67dcb4eadde01014 Mon Sep 17 00:00:00 2001 From: Matthieu Foucault Date: Fri, 10 Dec 2021 15:22:09 -0800 Subject: [PATCH] test: update error message thrown when violating not-null constraint --- schema/test/unit/trigger_functions/save_form_change_test.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/test/unit/trigger_functions/save_form_change_test.sql b/schema/test/unit/trigger_functions/save_form_change_test.sql index e7b18d0dc2..84f02fa3e2 100644 --- a/schema/test/unit/trigger_functions/save_form_change_test.sql +++ b/schema/test/unit/trigger_functions/save_form_change_test.sql @@ -73,7 +73,7 @@ select throws_ok( $$ update mock_schema.mock_form_change set change_status = 'test_committed' where id = 2 $$, - 'null value in column "required_col" violates not-null constraint' + 'null value in column "required_col" of relation "mock_table" violates not-null constraint' ); -- inserts with default value if data is missing