Update tests
This commit is contained in:
parent
9985d9d91c
commit
ee8e662862
1 changed files with 6 additions and 2 deletions
|
@ -95,7 +95,7 @@ class WC_Retailcrm_Uploader_Test extends WC_Retailcrm_Test_Case_Helper
|
|||
|
||||
/**
|
||||
* @param $retailcrm
|
||||
* @dataProvider dataProviderApiClient
|
||||
* @dataProvider dataProviderApiClientForUpload
|
||||
*/
|
||||
public function test_upload_selected_orders()
|
||||
{
|
||||
|
@ -140,7 +140,11 @@ class WC_Retailcrm_Uploader_Test extends WC_Retailcrm_Test_Case_Helper
|
|||
$this->setUp();
|
||||
|
||||
$apiMock = (clone $this->apiMock);
|
||||
$apiMock->expects($this->once())->method('ordersUpload');
|
||||
$apiMock
|
||||
->expects($this->once())
|
||||
->method('ordersUpload')
|
||||
->willReturn(new WC_Retailcrm_Response(200, ''));
|
||||
;
|
||||
|
||||
return array(
|
||||
array(
|
||||
|
|
Loading…
Add table
Reference in a new issue