Verified Commit 37ff76ba authored by Florian Forster's avatar Florian Forster Committed by GitLab
Browse files

Merge branch 'fforster/epic-cleanup' into 'main'

test(integration): Use epic IID instead of ID in `DeleteEpic` cleanup.

See merge request !2794
parents 1e294d44 49dea058
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -269,7 +269,7 @@ func CreateTestEpicWithOptions(t *testing.T, client *gitlab.Client, gid any, opt

	// Add a cleanup function
	t.Cleanup(func() {
		_, err := client.Epics.DeleteEpic(gid, epic.ID, gitlab.WithContext(context.Background()))
		_, err := client.Epics.DeleteEpic(gid, epic.IID, gitlab.WithContext(context.Background()))
		require.NoError(t, err, "Failed to delete test epic")
	})