From 1c3156fe3a6e47e38047ab0abff96a39301c6759 Mon Sep 17 00:00:00 2001 From: Reza Mobaraki Date: Fri, 23 Aug 2024 19:14:54 +0330 Subject: [PATCH] Chore(benefactor-kindBoxReqs-test): add testify/suit in order to handle Resolves #140 Signed-off-by: Reza Mobaraki --- delivery/http_server/end2end/benefactor_kindboxreqs_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/delivery/http_server/end2end/benefactor_kindboxreqs_test.go b/delivery/http_server/end2end/benefactor_kindboxreqs_test.go index 8aff325..4271533 100644 --- a/delivery/http_server/end2end/benefactor_kindboxreqs_test.go +++ b/delivery/http_server/end2end/benefactor_kindboxreqs_test.go @@ -31,8 +31,10 @@ func (suite *BenefactorKindBoxReqsTestSuite) SetupTest() { suite.T().Cleanup(teardown) } +// TODO: find better place // loginBenefactor utility function func (suite *BenefactorKindBoxReqsTestSuite) loginBenefactor() string { + phone := "09384664404" sendOTPRes, err := services.BenefactorSvc.SendOtp(context.Background(), benefactoreparam.SendOtpRequest{ PhoneNumber: phone,