The sessions aggregate was inserting host_id and host_set_id, columns which are no longer present on the session table. Also fix the test that guards against regressions like this in the future.
12 lines
338 B
PL/PgSQL
12 lines
338 B
PL/PgSQL
-- Copyright (c) HashiCorp, Inc.
|
|
-- SPDX-License-Identifier: MPL-2.0
|
|
|
|
-- wtt_load_widgets tests the wtt_load test helper function for the widgets persona.
|
|
begin;
|
|
select plan(1);
|
|
|
|
select lives_ok($$select wtt_load('widgets', 'iam', 'kms', 'auth', 'hosts', 'targets', 'credentials', 'sessions')$$);
|
|
|
|
select * from finish();
|
|
rollback;
|