forked from ebhomengo/niki
1
0
Fork 0

Chore(benefactor-kindBoxReqs-test): add testify/suit in order to handle

Resolves #140

Signed-off-by: Reza Mobaraki <rezam578@gmail.com>
This commit is contained in:
Reza Mobaraki 2024-08-23 19:14:54 +03:30
parent b132249ffc
commit 1c3156fe3a
No known key found for this signature in database
GPG Key ID: 922CBCF25B541A6F
1 changed files with 2 additions and 0 deletions

View File

@ -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,