From 3e5a5b6791e4261bcc992364ef79e6c0fb0606e7 Mon Sep 17 00:00:00 2001 From: "J.M" Date: Thu, 16 Aug 2018 02:03:42 +0200 Subject: [PATCH] Fix Ads API v2 test --- test/detection_tests.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/detection_tests.php b/test/detection_tests.php index 5e2db67..9114a2d 100644 --- a/test/detection_tests.php +++ b/test/detection_tests.php @@ -269,7 +269,7 @@ 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'] @@ -277,7 +277,7 @@ public function testGetEndpoint() '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']