|
36 | 36 |
|
37 | 37 | expect($mock->getLastRequest()->getUri()->getQuery())->toEqual('user_id=42&filter_id=100&stage_id=1&status=open&start=0') |
38 | 38 | ->and($result->getData())->toHaveLength(1); |
39 | | -}); |
| 39 | +})->skip('Replaced by v2 test'); |
40 | 40 |
|
41 | 41 | it('fetches one deal', function () { |
42 | 42 | $config = new Configuration(); |
|
62 | 62 |
|
63 | 63 | expect($mock->getLastRequest()->getUri())->toEqual('https://api.pipedrive.com/v1/deals/1') |
64 | 64 | ->and($result->getData()->getId())->toBe(1); |
65 | | -}); |
| 65 | +})->skip('Replaced by v2 test'); |
66 | 66 |
|
67 | 67 | it('attach a product to a deal', function () { |
68 | 68 | $config = new Configuration(); |
|
110 | 110 |
|
111 | 111 | expect($mock->getLastRequest()->getUri())->toEqual('https://api.pipedrive.com/v1/deals/1/products') |
112 | 112 | ->and($result->getData()->getId())->toBe(777); |
113 | | -}); |
| 113 | +})->skip('Replaced by v2 test'); |
114 | 114 |
|
115 | 115 | it('update a product attached to a deal', function () { |
116 | 116 | $config = new Configuration(); |
|
163 | 163 | ->and($result->getData()->getId())->toBe(777); |
164 | 164 |
|
165 | 165 | expect($mock->getLastRequest()->getBody()->getContents())->toEqual(json_encode($update_deal_product)); |
166 | | -}); |
| 166 | +})->skip('Replaced by v2 test'); |
167 | 167 |
|
168 | 168 |
|
169 | 169 | it('lists deals with raw data', function () { |
|
196 | 196 | ->and($rawData[0]->id)->toEqual(42) |
197 | 197 | ->and($rawData[0])->toHaveProperty('65d4f7b19e743082034fe9b866138uea6d7cc941') |
198 | 198 | ->and($rawData[0]->{'65d4f7b19e743082034fe9b866138uea6d7cc941'})->toEqual('custom'); |
199 | | -}); |
| 199 | +})->skip('Replaced by v2 test'); |
0 commit comments