Files
threshold/internal/db/sqltest/tests/org/org-delete.sql
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
323 B
PL/PgSQL
Raw Normal View History

2023-02-02 17:15:17 -08:00
-- Copyright (c) HashiCorp, Inc.
-- SPDX-License-Identifier: BUSL-1.1
-- org-delete tests:
-- deleting an org
begin;
select plan(1);
prepare delete_org as
delete from iam_scope
where type = 'org'
and public_id = 'o__foodtruck';
select lives_ok('delete_org');
select * from finish();
rollback;