|
|
@@ -42,7 +42,7 @@ class Zend_Gdata_Photos_PhotosAlbumQueryTest extends PHPUnit_Framework_TestCase
|
|
|
*/
|
|
|
public function testSimpleAlbumQuery()
|
|
|
{
|
|
|
- $queryString = "http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1";
|
|
|
+ $queryString = "https://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1";
|
|
|
|
|
|
$query = new Zend_Gdata_Photos_AlbumQuery();
|
|
|
$query->setUser("sample.user");
|
|
|
@@ -53,7 +53,7 @@ class Zend_Gdata_Photos_PhotosAlbumQueryTest extends PHPUnit_Framework_TestCase
|
|
|
// Assert that the generated query matches the correct one
|
|
|
$this->assertEquals($queryString, $generatedString);
|
|
|
|
|
|
- $queryString = "http://picasaweb.google.com/data/feed/api/user/sample.user/album/test";
|
|
|
+ $queryString = "https://picasaweb.google.com/data/feed/api/user/sample.user/album/test";
|
|
|
|
|
|
$query->setAlbumId(null);
|
|
|
$query->setAlbumName("test");
|
|
|
@@ -94,7 +94,7 @@ class Zend_Gdata_Photos_PhotosAlbumQueryTest extends PHPUnit_Framework_TestCase
|
|
|
*/
|
|
|
public function testBaseAlbumQuery()
|
|
|
{
|
|
|
- $queryString = "http://picasaweb.google.com/data/feed/base/user/sample.user/albumid/1";
|
|
|
+ $queryString = "https://picasaweb.google.com/data/feed/base/user/sample.user/albumid/1";
|
|
|
|
|
|
$query = new Zend_Gdata_Photos_AlbumQuery();
|
|
|
$query->setUser("sample.user");
|
|
|
@@ -113,7 +113,7 @@ class Zend_Gdata_Photos_PhotosAlbumQueryTest extends PHPUnit_Framework_TestCase
|
|
|
*/
|
|
|
public function testTagFilterAlbumQuery()
|
|
|
{
|
|
|
- $queryString = "http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1?tag=test";
|
|
|
+ $queryString = "https://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1?tag=test";
|
|
|
|
|
|
$query = new Zend_Gdata_Photos_AlbumQuery();
|
|
|
$query->setUser("sample.user");
|
|
|
@@ -131,7 +131,7 @@ class Zend_Gdata_Photos_PhotosAlbumQueryTest extends PHPUnit_Framework_TestCase
|
|
|
*/
|
|
|
public function testPrivateAlbumQuery()
|
|
|
{
|
|
|
- $queryString = "http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1?access=private";
|
|
|
+ $queryString = "https://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1?access=private";
|
|
|
|
|
|
$query = new Zend_Gdata_Photos_AlbumQuery();
|
|
|
$query->setUser("sample.user");
|
|
|
@@ -149,7 +149,7 @@ class Zend_Gdata_Photos_PhotosAlbumQueryTest extends PHPUnit_Framework_TestCase
|
|
|
*/
|
|
|
public function testThumbnailAlbumQuery()
|
|
|
{
|
|
|
- $queryString = "http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1?thumbsize=72";
|
|
|
+ $queryString = "https://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1?thumbsize=72";
|
|
|
|
|
|
$query = new Zend_Gdata_Photos_AlbumQuery();
|
|
|
$query->setUser("sample.user");
|
|
|
@@ -170,7 +170,7 @@ class Zend_Gdata_Photos_PhotosAlbumQueryTest extends PHPUnit_Framework_TestCase
|
|
|
*/
|
|
|
public function testImgAlbumQuery()
|
|
|
{
|
|
|
- $queryString = "http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1?imgmax=800";
|
|
|
+ $queryString = "https://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1?imgmax=800";
|
|
|
|
|
|
$query = new Zend_Gdata_Photos_AlbumQuery();
|
|
|
$query->setUser("sample.user");
|
|
|
@@ -186,7 +186,7 @@ class Zend_Gdata_Photos_PhotosAlbumQueryTest extends PHPUnit_Framework_TestCase
|
|
|
$this->assertEquals($queryString, $generatedString);
|
|
|
|
|
|
// Check that ImgMax is set back to null
|
|
|
- $queryString = "http://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1";
|
|
|
+ $queryString = "https://picasaweb.google.com/data/feed/api/user/sample.user/albumid/1";
|
|
|
$query->setImgMax(null);
|
|
|
|
|
|
$generatedString = $query->getQueryUrl();
|