Skip to content

Commit

Permalink
Merge pull request #49 from paullexen/master
Browse files Browse the repository at this point in the history
updated googleads-php-lib version to support v201809
  • Loading branch information
nikolajlovenhardt authored Nov 15, 2018
2 parents 6198f94 + 10dcfcf commit 6d9b0ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions tests/LaravelGoogleAdsTest/Services/AdWordsServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit 6d9b0ff

Please sign in to comment.