comparison schema/auth_tests.sql @ 4056:1ecfe5d015b0

Fixup rev. 4bf1c8d91bac: take new column into account in tests
author Tom Gottfried <tom@intevation.de>
date Thu, 25 Jul 2019 08:06:22 +0200
parents 29ef6d41e4af
children b785b6bef578
comparison
equal deleted inserted replaced
4049:4a7c2140e44b 4056:1ecfe5d015b0
149 INSERT INTO import.imports (kind, username, data) VALUES ( 149 INSERT INTO import.imports (kind, username, data) VALUES (
150 'test', current_user, 'test') RETURNING id), 150 'test', current_user, 'test') RETURNING id),
151 log AS ( 151 log AS (
152 INSERT INTO import.import_logs (import_id, msg) 152 INSERT INTO import.import_logs (import_id, msg)
153 SELECT id, 'test' FROM job) 153 SELECT id, 'test' FROM job)
154 INSERT INTO import.track_imports 154 INSERT INTO import.track_imports (import_id, relation, key)
155 SELECT id, 'waterway.bottlenecks', 0 FROM job 155 SELECT id, 'waterway.bottlenecks', 0 FROM job
156 $$, 156 $$,
157 'Waterway admin can add import job and related data'); 157 'Waterway admin can add import job and related data');
158 158
159 SET SESSION AUTHORIZATION test_admin_at2; 159 SET SESSION AUTHORIZATION test_admin_at2;