From 10dcfcf1b0c1dca874d106ecc41e5a495456ade9 Mon Sep 17 00:00:00 2001 From: Paul Lexen Date: Fri, 2 Nov 2018 11:44:16 -0500 Subject: [PATCH] updated googleads-php-lib version to support v201809 --- composer.json | 2 +- tests/LaravelGoogleAdsTest/Services/AdWordsServiceTest.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 6241dd7..e3e4520 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "ext-soap": "*", "illuminate/console": "^5.1", "illuminate/support": "^5.1", - "googleads/googleads-php-lib": "^37.0" + "googleads/googleads-php-lib": "^37.1" }, "require-dev": { "phpunit/phpunit": "~4.0" diff --git a/tests/LaravelGoogleAdsTest/Services/AdWordsServiceTest.php b/tests/LaravelGoogleAdsTest/Services/AdWordsServiceTest.php index 6e3d536..77a1544 100644 --- a/tests/LaravelGoogleAdsTest/Services/AdWordsServiceTest.php +++ b/tests/LaravelGoogleAdsTest/Services/AdWordsServiceTest.php @@ -28,7 +28,7 @@ function config() { namespace LaravelGoogleAdsTest\Services { - use Google\AdsApi\AdWords\v201802\cm\CampaignService; + use Google\AdsApi\AdWords\v201809\cm\CampaignService; use Google\AdsApi\Common\Configuration; use Google\Auth\Credentials\UserRefreshCredentials; use LaravelGoogleAds\Services\AdWordsService; @@ -89,13 +89,13 @@ public function testOauth2Credentials() $this->assertInstanceOf(UserRefreshCredentials::class, $result); } - + public function testSession() { $clientCustomerId = '123-456-78'; $config = config(); - + $result = $this->service->session($clientCustomerId); $this->assertSame($clientCustomerId, $result->getClientCustomerId());