From b5ef483f34f39f3b6e3d6789abe0e65d642415b1 Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Sat, 14 Sep 2024 20:07:17 +0300 Subject: [PATCH] clean up tests --- internal/handlers/ussd/menuhandler_test.go | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/internal/handlers/ussd/menuhandler_test.go b/internal/handlers/ussd/menuhandler_test.go index e091bb9..67371cf 100644 --- a/internal/handlers/ussd/menuhandler_test.go +++ b/internal/handlers/ussd/menuhandler_test.go @@ -1109,15 +1109,6 @@ func TestCheckAccountStatus(t *testing.T) { FlagReset: []uint32{flag_account_pending}, }, }, - // { - // name: "Test when account status is not Success", - // input: []byte("TrackingId1234"), - // status: "REVERTED", - // expectedResult: resource.Result{ - // FlagReset: []uint32{flag_account_pending}, - // FlagSet: []uint32{flag_account_success}, - // }, - // }, } typ := utils.DATA_TRACKING_ID @@ -1688,17 +1679,6 @@ func TestGetProfile(t *testing.T) { ), }, }, - // { - // name: "Test with yob not provided", - // keys: []utils.DataTyp{utils.DATA_FAMILY_NAME, utils.DATA_FIRST_NAME, utils.DATA_GENDER, utils.DATA_OFFERINGS, utils.DATA_LOCATION, utils.DATA_YOB}, - // profileInfo: []string{"Doee", "John", "Male", "Bananas", "Kilifi", "Not Provided"}, - // result: resource.Result{ - // Content: fmt.Sprintf( - // "Name: %s\nGender: %s\nAge: %s\nLocation: %s\nYou provide: %s\n", - // "John Doee", "Male", "Not Provided", "Kilifi", "Bananas", - // ), - // }, - // }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) {