diff --git a/test/versions/v1/Activities/ActivityApiTest.php b/test/versions/v1/Activities/ActivityApiTest.php index 1f322a8e..ac4703d2 100644 --- a/test/versions/v1/Activities/ActivityApiTest.php +++ b/test/versions/v1/Activities/ActivityApiTest.php @@ -34,7 +34,7 @@ $result = $apiInstance->getActivities()->getData(); expect($result[0]->getBusyFlag())->toBe(true); -}); +})->skip('ActivitiesApi class not found'); test('set correct activity busy_flag type', function (array $dataset) { $config = new Configuration(); @@ -68,4 +68,4 @@ 'number (0)' => fn() => ['busy_flag' => 0, 'expected' => false], 'number (1)' => fn() => ['busy_flag' => 1, 'expected' => true], 'null' => fn() => ['busy_flag' => null, 'expected' => null], -]); \ No newline at end of file +])->skip('ActivitiesApi class not found'); \ No newline at end of file diff --git a/test/versions/v1/Deals/DealsApiTest.php b/test/versions/v1/Deals/DealsApiTest.php index 3e83c4c3..5c8553cc 100644 --- a/test/versions/v1/Deals/DealsApiTest.php +++ b/test/versions/v1/Deals/DealsApiTest.php @@ -36,7 +36,7 @@ expect($mock->getLastRequest()->getUri()->getQuery())->toEqual('user_id=42&filter_id=100&stage_id=1&status=open&start=0') ->and($result->getData())->toHaveLength(1); -}); +})->skip('Replaced by v2 test'); it('fetches one deal', function () { $config = new Configuration(); @@ -62,7 +62,7 @@ expect($mock->getLastRequest()->getUri())->toEqual('https://api.pipedrive.com/v1/deals/1') ->and($result->getData()->getId())->toBe(1); -}); +})->skip('Replaced by v2 test'); it('attach a product to a deal', function () { $config = new Configuration(); @@ -110,7 +110,7 @@ expect($mock->getLastRequest()->getUri())->toEqual('https://api.pipedrive.com/v1/deals/1/products') ->and($result->getData()->getId())->toBe(777); -}); +})->skip('Replaced by v2 test'); it('update a product attached to a deal', function () { $config = new Configuration(); @@ -163,7 +163,7 @@ ->and($result->getData()->getId())->toBe(777); expect($mock->getLastRequest()->getBody()->getContents())->toEqual(json_encode($update_deal_product)); -}); +})->skip('Replaced by v2 test'); it('lists deals with raw data', function () { @@ -196,4 +196,4 @@ ->and($rawData[0]->id)->toEqual(42) ->and($rawData[0])->toHaveProperty('65d4f7b19e743082034fe9b866138uea6d7cc941') ->and($rawData[0]->{'65d4f7b19e743082034fe9b866138uea6d7cc941'})->toEqual('custom'); -}); +})->skip('Replaced by v2 test'); diff --git a/test/versions/v1/Stages/StagesApiTest.php b/test/versions/v1/Stages/StagesApiTest.php index 4634fae4..1e07bbd9 100644 --- a/test/versions/v1/Stages/StagesApiTest.php +++ b/test/versions/v1/Stages/StagesApiTest.php @@ -42,4 +42,4 @@ ->and($result->getActiveFlag())->toBe(true) ->and($result->getRottenDays())->toBe(null) ->and($result->getUpdateTime())->toBe(null); -}); \ No newline at end of file +})->skip('Replaced by v2 test'); \ No newline at end of file