File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -495,7 +495,7 @@ public static function getProductImages($id)
495495 */
496496 public static function getProductCustomFields ($ id )
497497 {
498- return self ::getCollection ('/products/ ' . $ id . '/customfields/ ' , 'ProductCustomField ' );
498+ return self ::getCollection ('/products/ ' . $ id . '/customfields ' , 'ProductCustomField ' );
499499 }
500500
501501 /**
Original file line number Diff line number Diff line change @@ -449,7 +449,7 @@ public function testGettingProductCustomFieldsReturnsCollectionOfProductCustomFi
449449 {
450450 $ this ->connection ->expects ($ this ->once ())
451451 ->method ('get ' )
452- ->with ($ this ->basePath . '/products/1/customfields/ ' , false )
452+ ->with ($ this ->basePath . '/products/1/customfields ' , false )
453453 ->will ($ this ->returnValue (array (array (), array ())));
454454
455455 $ collection = Client::getProductCustomFields (1 );
You can’t perform that action at this time.
0 commit comments