Skip to content

Commit

Permalink
Fix Ads API v2 test
Browse files Browse the repository at this point in the history
  • Loading branch information
mynetx committed Aug 16, 2018
1 parent aca5a71 commit 3e5a5b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/detection_tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,15 +269,15 @@ public function testGetEndpoint()
'ton/bucket/:bucket'
);
$this->assertEquals(
'https://ads-api.twitter.com/1/accounts/1234/campaigns',
'https://ads-api.twitter.com/2/accounts/1234/campaigns',
$cb->call(
'_getEndpoint',
['ads/accounts/1234/campaigns', 'ads/accounts/:account_id/campaigns']
),
'ads/accounts/:account_id/campaigns'
);
$this->assertEquals(
'https://ads-api-sandbox.twitter.com/1/accounts/1234/campaigns',
'https://ads-api-sandbox.twitter.com/2/accounts/1234/campaigns',
$cb->call(
'_getEndpoint',
['ads/sandbox/accounts/1234/campaigns', 'ads/sandbox/accounts/:account_id/campaigns']
Expand Down

0 comments on commit 3e5a5b6

Please sign in to comment.