forked from ebhomengo/niki
Chore(e2e.benefactor-address-test): all tests are applied
resolve #138 Signed-off-by: Reza Mobaraki <rezam578@gmail.com>
This commit is contained in:
parent
68d6aebb3b
commit
7c1d93e1da
|
@ -161,7 +161,7 @@ func (suite *BenefactorAddressTestSuit) TestBenefactorAddressCreate() {
|
|||
|
||||
// TestBenefactorAddressUpdate tests the PUT /address/:id endpoint
|
||||
func (suite *BenefactorAddressTestSuit) TestBenefactorAddressUpdate() {
|
||||
// TODO: check Method is patch, however, all fields are required !!
|
||||
// TODO: check Method is patch, however, all fields are required
|
||||
responseRecord := suite.createRequest("PATCH", fmt.Sprintf("/address/%d", suite.addressID), suite.updateData)
|
||||
suite.Require().Equal(http.StatusNoContent, responseRecord.Code)
|
||||
|
||||
|
|
Loading…
Reference in New Issue