Zend Framework

testAddAndDeleteSubscriptionToQueryV2 doesn't set developer key

Details

  • Type: Unit Tests: Problem Unit Tests: Problem
  • Status: Resolved Resolved
  • Priority: Major 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

Activity

Hide
Trevor Johns added a comment -

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(-)
Show
Trevor Johns added a comment - 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(-)
Hide
Trevor Johns added a comment -

Amended commit to trunk with r16227.

commit d0c5b8bb7af3171fd225c3440a61fb9a6d8e074e
Author: tjohns <tjohns@44c647ce-9c0f-0410-b52a-842ac1e357ba>
Date:   Sun Jun 21 22:42:02 2009 +0000

    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

 tests/Zend/Gdata/YouTubeOnlineTest.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show
Trevor Johns added a comment - Amended commit to trunk with r16227.
commit d0c5b8bb7af3171fd225c3440a61fb9a6d8e074e
Author: tjohns <tjohns@44c647ce-9c0f-0410-b52a-842ac1e357ba>
Date:   Sun Jun 21 22:42:02 2009 +0000

    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

 tests/Zend/Gdata/YouTubeOnlineTest.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Hide
Trevor Johns added a comment - - edited

Merged r16226 and r16227 from trunk to release-1.8.

Marking as fixed for next mini release.

commit 9a3d38671fcdc1b65f9fc9182872f0b781088c86
Author: tjohns <tjohns@44c647ce-9c0f-0410-b52a-842ac1e357ba>
Date:   Mon Jun 22 03:57:06 2009 +0000

    Merge r16226 from trunk to release-1.8.
    
    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/branches/release-1.8@16231 44c647ce-9c0f-0410-b52a-842ac1e357ba

 tests/Zend/Gdata/YouTubeOnlineTest.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 1fa51ebe0d268423395787b4420ff948f27fd287
Author: tjohns <tjohns@44c647ce-9c0f-0410-b52a-842ac1e357ba>
Date:   Mon Jun 22 03:57:08 2009 +0000

    Merge r16227 from trunk to release-1.8.
    
    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/branches/release-1.8@16232 44c647ce-9c0f-0410-b52a-842ac1e357ba

 tests/Zend/Gdata/YouTubeOnlineTest.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show
Trevor Johns added a comment - - edited Merged r16226 and r16227 from trunk to release-1.8. Marking as fixed for next mini release.
commit 9a3d38671fcdc1b65f9fc9182872f0b781088c86
Author: tjohns <tjohns@44c647ce-9c0f-0410-b52a-842ac1e357ba>
Date:   Mon Jun 22 03:57:06 2009 +0000

    Merge r16226 from trunk to release-1.8.
    
    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/branches/release-1.8@16231 44c647ce-9c0f-0410-b52a-842ac1e357ba

 tests/Zend/Gdata/YouTubeOnlineTest.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 1fa51ebe0d268423395787b4420ff948f27fd287
Author: tjohns <tjohns@44c647ce-9c0f-0410-b52a-842ac1e357ba>
Date:   Mon Jun 22 03:57:08 2009 +0000

    Merge r16227 from trunk to release-1.8.
    
    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/branches/release-1.8@16232 44c647ce-9c0f-0410-b52a-842ac1e357ba

 tests/Zend/Gdata/YouTubeOnlineTest.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: