2
0
Просмотр исходного кода

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 лет назад
Родитель
Сommit
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';