Forráskód Böngészése

Zend_Gdata_YouTube: Remove python-isms from Zend_Gdata_YouTubeOnlineTest. Closes [ZF-7074].

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23706 44c647ce-9c0f-0410-b52a-842ac1e357ba
alexander 15 éve
szülő
commit
3af4affbf8
1 módosított fájl, 21 hozzáadás és 21 törlés
  1. 21 21
      tests/Zend/Gdata/YouTubeOnlineTest.php

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

@@ -144,13 +144,13 @@ class Zend_Gdata_YouTubeOnlineTest extends PHPUnit_Framework_TestCase
         $service = Zend_Gdata_YouTube::AUTH_SERVICE_NAME;
         $service = Zend_Gdata_YouTube::AUTH_SERVICE_NAME;
         $authenticationURL= 'https://www.google.com/youtube/accounts/ClientLogin';
         $authenticationURL= 'https://www.google.com/youtube/accounts/ClientLogin';
         $httpClient = Zend_Gdata_ClientLogin::getHttpClient(
         $httpClient = Zend_Gdata_ClientLogin::getHttpClient(
-                                          $username = $this->user,
-                                          $password = $this->pass,
-                                          $service = $service,
-                                          $client = null,
-                                          $source = 'Google-UnitTests-1.0',
-                                          $loginToken = null,
-                                          $loginCaptcha = null,
+                                          $this->user,
+                                          $this->pass,
+                                          $service,
+                                          null,                    // client
+                                          'Google-UnitTests-1.0',  // source
+                                          null,                    // loginToken
+                                          null,                    // loginCaptcha
                                           $authenticationURL);
                                           $authenticationURL);
 
 
         $this->gdata = new Zend_Gdata_YouTube($httpClient,
         $this->gdata = new Zend_Gdata_YouTube($httpClient,
@@ -311,13 +311,13 @@ class Zend_Gdata_YouTubeOnlineTest extends PHPUnit_Framework_TestCase
         $authenticationURL =
         $authenticationURL =
             'https://www.google.com/youtube/accounts/ClientLogin';
             'https://www.google.com/youtube/accounts/ClientLogin';
         $httpClient = Zend_Gdata_ClientLogin::getHttpClient(
         $httpClient = Zend_Gdata_ClientLogin::getHttpClient(
-                                          $username = $this->user,
-                                          $password = $this->pass,
-                                          $service = $service,
-                                          $client = null,
-                                          $source = 'Google-UnitTests-1.0',
-                                          $loginToken = null,
-                                          $loginCaptcha = null,
+                                          $this->user,
+                                          $this->pass,
+                                          $service,
+                                          null,                    // client
+                                          'Google-UnitTests-1.0',  // source
+                                          null,                    // $loginToken
+                                          null,                    // loginCaptcha
                                           $authenticationURL);
                                           $authenticationURL);
 
 
         $yt = new Zend_Gdata_YouTube(
         $yt = new Zend_Gdata_YouTube(
@@ -394,13 +394,13 @@ class Zend_Gdata_YouTubeOnlineTest extends PHPUnit_Framework_TestCase
         $authenticationURL =
         $authenticationURL =
             'https://www.google.com/youtube/accounts/ClientLogin';
             'https://www.google.com/youtube/accounts/ClientLogin';
         $httpClient = Zend_Gdata_ClientLogin::getHttpClient(
         $httpClient = Zend_Gdata_ClientLogin::getHttpClient(
-                                          $username = $this->user,
-                                          $password = $this->pass,
-                                          $service = $service,
-                                          $client = null,
-                                          $source = 'Google-UnitTests-1.0',
-                                          $loginToken = null,
-                                          $loginCaptcha = null,
+                                          $this->user,
+                                          $this->pass,
+                                          $service,
+                                          null,                    // client
+                                          'Google-UnitTests-1.0',  // source
+                                          null,                    // loginToken
+                                          null,                    // loginCaptcha
                                           $authenticationURL);
                                           $authenticationURL);
 
 
         $yt = new Zend_Gdata_YouTube(
         $yt = new Zend_Gdata_YouTube(