Skip to content

Commit 49febb1

Browse files
andrew-farriesxata-botgithub-merge-queue[bot]
authored andcommitted
Set postgres enabled state via request body in E2E and drizzle next tests (#1570)
Co-authored-by: Xata Bot <[email protected]> Co-authored-by: github-merge-queue[bot] <github-merge-queue[bot]@users.noreply.github.com>
1 parent 55ec264 commit 49febb1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/utils/setup.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ export async function setUpTestEnvironment(
8080

8181
const { databaseName: database } = await api.databases.createDatabase({
8282
pathParams: { workspaceId: workspace, dbName: `sdk-integration-test-${prefix}-${id}` },
83-
body: { region, defaultClusterID: clusterId },
84-
headers: { 'X-Features': 'feat-pgroll-migrations=1' }
83+
body: { region, defaultClusterID: clusterId, postgresEnabled: true }
8584
});
8685

8786
const workspaceUrl = getHostUrl(host, 'workspaces').replace('{workspaceId}', workspace).replace('{region}', region);

0 commit comments

Comments
 (0)