Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayashsatolia403 committed Nov 14, 2024
2 parents 4d82ce7 + f2eaeaa commit 07060fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/api_tests/0box_referral_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func Test0BoxReferral(testSetup *testing.T) {
require.NotNil(t, zboxRferral)
require.Equal(t, 200, response.StatusCode(), "Response status code does not match expected. Output: [%v]", response.String())

_, response, err = zboxClient.CreateOwner(t, referralHeaders, map[string]string{"username": "referred_user"})
_, response, err = zboxClient.CreateOwner(t, referralHeaders, map[string]string{"username": "referred_user", "email": "[email protected]", "phone_number": "+15446424343"})
require.NoError(t, err)
require.Equal(t, 201, response.StatusCode(), "Response status code does not match expected. Output: [%v]", response.String())

Expand Down Expand Up @@ -89,7 +89,7 @@ func Test0BoxReferralLeaderBoard(testSetup *testing.T) {
require.NotNil(t, zboxRferral)
require.Equal(t, 200, response.StatusCode(), "Response status code does not match expected. Output: [%v]", response.String())

_, response, err = zboxClient.CreateOwner(t, referralHeaders, map[string]string{"username": "referred_user"})
_, response, err = zboxClient.CreateOwner(t, referralHeaders, map[string]string{"username": "referred_user", "email": "[email protected]", "phone_number": "+14446424343"})
require.NoError(t, err)
require.Equal(t, 201, response.StatusCode(), "Response status code does not match expected. Output: [%v]", response.String())

Expand Down

0 comments on commit 07060fc

Please sign in to comment.