forked from ebhomengo/niki
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:
parent
b132249ffc
commit
1c3156fe3a
|
@ -31,8 +31,10 @@ func (suite *BenefactorKindBoxReqsTestSuite) SetupTest() {
|
||||||
suite.T().Cleanup(teardown)
|
suite.T().Cleanup(teardown)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: find better place
|
||||||
// loginBenefactor utility function
|
// loginBenefactor utility function
|
||||||
func (suite *BenefactorKindBoxReqsTestSuite) loginBenefactor() string {
|
func (suite *BenefactorKindBoxReqsTestSuite) loginBenefactor() string {
|
||||||
|
|
||||||
phone := "09384664404"
|
phone := "09384664404"
|
||||||
sendOTPRes, err := services.BenefactorSvc.SendOtp(context.Background(), benefactoreparam.SendOtpRequest{
|
sendOTPRes, err := services.BenefactorSvc.SendOtp(context.Background(), benefactoreparam.SendOtpRequest{
|
||||||
PhoneNumber: phone,
|
PhoneNumber: phone,
|
||||||
|
|
Loading…
Reference in New Issue