Issues

ZF-7069: testAddAndDeleteSubscriptionToQueryV2 doesn't set developer key

Issue Type: Unit Tests: Problem Created: 2009-06-21T13:24:22.000+0000 Last Updated: 2009-06-21T20:59:59.000+0000 Status: Resolved Fix version(s): - 1.8.4 (23/Jun/09)

Reporter: Trevor Johns (tjohns) Assignee: Trevor Johns (tjohns) Tags: - Zend_Gdata

Related issues: Attachments:

Description

The test testAddAndDeleteSubscriptionToQueryV2 doesn't set the YouTube API developer key properly, resulting in the following error when running Zend_Gdata_YouTubeOnlineTests:

<pre class="literal">
Zend_Gdata_App_HttpException: Expected response code 200, got 403
GDataServiceForbiddenException
Developer key required for this operation

.../library/Zend/Gdata.php:218
.../library/Zend/Gdata/App.php:885
.../library/Zend/Gdata/App.php:955

Comments

Posted by Trevor Johns (tjohns) on 2009-06-21T13:59:41.000+0000

Fixed for trunk in r16226.

<pre class="literal">
commit 0a80e27f0a397a5210828608c33bbd4f5bb575b9
Author: tjohns 
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: <a href="http://framework.zend.com/svn/framework/standard/trunk@16226">http://framework.zend.com/svn/framework/…</a> 44c647ce-9c0f-0410-b52a-842ac1e357ba

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

Posted by Trevor Johns (tjohns) on 2009-06-21T15:43:23.000+0000

Amended commit to trunk with r16227.

<pre class="literal">
commit d0c5b8bb7af3171fd225c3440a61fb9a6d8e074e
Author: tjohns 
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: <a href="http://framework.zend.com/svn/framework/standard/trunk@16227">http://framework.zend.com/svn/framework/…</a> 44c647ce-9c0f-0410-b52a-842ac1e357ba

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

Posted by Trevor Johns (tjohns) on 2009-06-21T20:59:37.000+0000

Merged r16226 and r16227 from trunk to release-1.8.

Marking as fixed for next mini release.

<pre class="literal">
commit 9a3d38671fcdc1b65f9fc9182872f0b781088c86
Author: tjohns 
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: <a href="http://framework.zend.com/svn/framework/standard/branches/release-1.8@16231">http://framework.zend.com/svn/framework/…</a> 44c647ce-9c0f-0410-b52a-842ac1e357ba

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

commit 1fa51ebe0d268423395787b4420ff948f27fd287
Author: tjohns 
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: <a href="http://framework.zend.com/svn/framework/standard/branches/release-1.8@16232">http://framework.zend.com/svn/framework/…</a> 44c647ce-9c0f-0410-b52a-842ac1e357ba

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

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts