From 1198074142a30928717bec637a1514e9279ec0de Mon Sep 17 00:00:00 2001 From: Aleksandr Rybolovlev Date: Mon, 3 Jun 2024 16:12:27 +0200 Subject: [PATCH] Fix tests --- workspace_integration_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/workspace_integration_test.go b/workspace_integration_test.go index 1deb4b5f4..0cebd208c 100644 --- a/workspace_integration_test.go +++ b/workspace_integration_test.go @@ -286,11 +286,11 @@ func TestWorkspacesList(t *testing.T) { wTest, wTestCleanup := createWorkspace(t, client, orgTest) t.Cleanup(wTestCleanup) - rn, unappliedCleanup := createRunUnapplied(t, client, wTest) - t.Cleanup(unappliedCleanup) + rn, appliedCleanup := createRunApply(t, client, wTest) + t.Cleanup(appliedCleanup) wl, err := client.Workspaces.List(ctx, orgTest.Name, &WorkspaceListOptions{ - CurrentRunStatus: string(RunPlanned), + CurrentRunStatus: string(RunApplied), }) require.NoError(t, err)