@@ -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/custom_fields ' , false )
453453 ->will ($ this ->returnValue (array (array (), array ())));
454454
455455 $ collection = Client::getProductCustomFields (1 );
@@ -474,7 +474,7 @@ public function testGettingASpecifiedProductCustomFieldReturnsThatProductCustomF
474474 {
475475 $ this ->connection ->expects ($ this ->once ())
476476 ->method ('get ' )
477- ->with ($ this ->basePath . '/products/1/customfields /1 ' , false )
477+ ->with ($ this ->basePath . '/products/1/custom_fields /1 ' , false )
478478 ->will ($ this ->returnValue (array (array (), array ())));
479479
480480 $ resource = Client::getProductCustomField (1 , 1 );
@@ -560,7 +560,7 @@ public function testCreatingAProductCustomFieldPostsToTheProductCustomFieldResou
560560 {
561561 $ this ->connection ->expects ($ this ->once ())
562562 ->method ('post ' )
563- ->with ($ this ->basePath . '/products/1/customfields ' , (object )array ());
563+ ->with ($ this ->basePath . '/products/1/custom_fields ' , (object )array ());
564564
565565 Client::createProductCustomField (1 , array ());
566566 }
@@ -578,7 +578,7 @@ public function testUpdatingAProductCustomFieldPutsToTheProductCustomFieldResour
578578 {
579579 $ this ->connection ->expects ($ this ->once ())
580580 ->method ('put ' )
581- ->with ($ this ->basePath . '/products/1/customfields /1 ' , (object )array ());
581+ ->with ($ this ->basePath . '/products/1/custom_fields /1 ' , (object )array ());
582582
583583 Client::updateProductCustomField (1 , 1 , array ());
584584 }
@@ -596,7 +596,7 @@ public function testDeletingAProductCustomFieldDeletesToTheProductCustomFieldRes
596596 {
597597 $ this ->connection ->expects ($ this ->once ())
598598 ->method ('delete ' )
599- ->with ($ this ->basePath . '/products/1/customfields /1 ' );
599+ ->with ($ this ->basePath . '/products/1/custom_fields /1 ' );
600600
601601 Client::deleteProductCustomField (1 , 1 );
602602 }
@@ -852,8 +852,8 @@ public function testDeletingAllGiftCertificatesDeletesToTheAllGiftCertificatesRe
852852
853853 Client::deleteAllGiftCertificates ();
854854 }
855-
856-
855+
856+
857857 public function testGettingWebhooksReturnsAllWebhooks ()
858858 {
859859 $ this ->connection ->expects ($ this ->once ())
@@ -866,7 +866,7 @@ public function testGettingWebhooksReturnsAllWebhooks()
866866 $ this ->assertInstanceOf ('Bigcommerce \\Api \\Resource ' , $ resource );
867867 }
868868 }
869-
869+
870870 public function testGettingSpecifiedWebhookReturnsTheSpecifiedWebhook ()
871871 {
872872 $ this ->connection ->expects ($ this ->once ())
@@ -876,7 +876,7 @@ public function testGettingSpecifiedWebhookReturnsTheSpecifiedWebhook()
876876 $ resource = Client::getWebhook (1 );
877877 $ this ->assertInstanceOf ('Bigcommerce \\Api \\Resource ' , $ resource );
878878 }
879-
879+
880880 public function testCreatingWebhookPostsToTheSpecifiedResource ()
881881 {
882882 $ this ->connection ->expects ($ this ->once ())
@@ -891,7 +891,7 @@ public function testUpdatingWebhookPutsToTheSpecifiedResource()
891891 ->with ($ this ->basePath . '/hooks/1 ' , (object )array ());
892892 Client::updateWebhook (1 , array ());
893893 }
894-
894+
895895 public function testDeleteWebhookDeletesToTheSpecifiedResource ()
896896 {
897897 $ this ->connection ->expects ($ this ->once ())
0 commit comments