From f73b6dea3f8e47fa3be75318547a24e745db13e4 Mon Sep 17 00:00:00 2001 From: JongBeom Lee Date: Mon, 8 Jan 2024 16:23:18 +0900 Subject: [PATCH] Remove useless codes --- test/integration/housekeeping_test.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/test/integration/housekeeping_test.go b/test/integration/housekeeping_test.go index 48f17b00b..d4521fdec 100644 --- a/test/integration/housekeeping_test.go +++ b/test/integration/housekeeping_test.go @@ -76,10 +76,6 @@ func TestHousekeeping(t *testing.T) { fetchSize := 3 lastProjectID := database.DefaultProjectID - for i := 0; i < len(projects); i++ { - fmt.Println(projects[i].ID) - } - fmt.Println(len(projects)) for i := 0; i < len(projects)/fetchSize; i++ { lastProjectID, _, err = h.FindDeactivateCandidates( ctx, @@ -127,9 +123,7 @@ func TestHousekeeping(t *testing.T) { 10, database.DefaultProjectID, ) - for i := 0; i < len(candidates); i++ { - fmt.Println(candidates[i].ID) - } + assert.NoError(t, err) assert.Len(t, candidates, 2) assert.Equal(t, candidates[0].ID, clientA.ID)