Details
-
Type:
Unit Tests: Problem
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.3
-
Fix Version/s: 1.8.4
-
Component/s: Zend_Gdata
-
Labels:None
Description
The test testAddAndDeleteSubscriptionToQueryV2 doesn't set the YouTube API developer key properly, resulting in the following error when running Zend_Gdata_YouTubeOnlineTests:
Zend_Gdata_App_HttpException: Expected response code 200, got 403 <errors xmlns='http://schemas.google.com/g/2005'> <error> <domain>GData</domain> <code>ServiceForbiddenException</code> <internalReason>Developer key required for this operation</internalReason> </error> </errors> .../library/Zend/Gdata.php:218 .../library/Zend/Gdata/App.php:885 .../library/Zend/Gdata/App.php:955
Fixed for trunk in r16226.
commit 0a80e27f0a397a5210828608c33bbd4f5bb575b9 Author: tjohns <tjohns@44c647ce-9c0f-0410-b52a-842ac1e357ba> Date: Sun Jun 21 20:57:29 2009 +0000 ZF-7069: Add missing (null) parameter so that the YouTube API developer key is set when running Zend_Gdata_YouTubeOnlineTests::testAddAndDeleteSubscriptionToQueryV2. git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@16226 44c647ce-9c0f-0410-b52a-842ac1e357ba tests/Zend/Gdata/YouTubeOnlineTest.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)commit 0a80e27f0a397a5210828608c33bbd4f5bb575b9 Author: tjohns <tjohns@44c647ce-9c0f-0410-b52a-842ac1e357ba> Date: Sun Jun 21 20:57:29 2009 +0000 ZF-7069: Add missing (null) parameter so that the YouTube API developer key is set when running Zend_Gdata_YouTubeOnlineTests::testAddAndDeleteSubscriptionToQueryV2. git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@16226 44c647ce-9c0f-0410-b52a-842ac1e357ba tests/Zend/Gdata/YouTubeOnlineTest.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)