瀏覽代碼

ZF-7069: Amending previous commit so that user agent is set in Zend_Gdata_YouTubeOnlineTests::testAddAndDeleteSubscriptionToQueryV2.

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@16227 44c647ce-9c0f-0410-b52a-842ac1e357ba
tjohns 16 年之前
父節點
當前提交
92652442ee
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/Zend/Gdata/YouTubeOnlineTest.php

+ 1 - 1
tests/Zend/Gdata/YouTubeOnlineTest.php

@@ -698,7 +698,7 @@ class Zend_Gdata_YouTubeOnlineTest extends PHPUnit_Framework_TestCase
                                           $loginCaptcha = null,
                                           $authenticationURL);
 
-        $yt = new Zend_Gdata_YouTube($httpClient, null, $clientId, $developerKey);
+        $yt = new Zend_Gdata_YouTube($httpClient, 'Google-UnitTests-1.0', $clientId, $developerKey);
 
         $yt->setMajorProtocolVersion(2);
         $queryStringToSubscribeTo = 'zend';