forked from ebhomengo/niki
1
0
Fork 0

Chore(e2e.benefactor-address-test): all tests are applied

resolve #138

Signed-off-by: Reza Mobaraki <rezam578@gmail.com>
This commit is contained in:
Reza Mobaraki 2024-08-26 17:02:26 +03:30
parent 68d6aebb3b
commit 7c1d93e1da
No known key found for this signature in database
GPG Key ID: 922CBCF25B541A6F
1 changed files with 1 additions and 1 deletions

View File

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