diff options
author | Matthieu Aubry <mattab@users.noreply.github.com> | 2016-12-12 13:54:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-12 13:54:03 +0300 |
commit | 53454e8efd0ab2a03dd9bb9f837aa63f36cfe552 (patch) | |
tree | be7dc483dad0dcac6577b73e9e82ede7bc097682 /plugins/Marketplace/tests/System/Api/ClientTest.php | |
parent | b1c09fa5123155ab9cd79342a4a0cef42e80de7f (diff) | |
parent | 67f2661f24602a07ebee66172f8446887ab83787 (diff) |
Merge pull request #10994 from piwik/3.x-dev3.0.0-rc2
3.0.0-rc2 release
Diffstat (limited to 'plugins/Marketplace/tests/System/Api/ClientTest.php')
-rw-r--r-- | plugins/Marketplace/tests/System/Api/ClientTest.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/Marketplace/tests/System/Api/ClientTest.php b/plugins/Marketplace/tests/System/Api/ClientTest.php index e38fb809e1..7011ebb837 100644 --- a/plugins/Marketplace/tests/System/Api/ClientTest.php +++ b/plugins/Marketplace/tests/System/Api/ClientTest.php @@ -9,6 +9,7 @@ namespace Piwik\Plugins\Marketplace\tests\System\Api; use Piwik\Cache; +use Piwik\Http; use Piwik\Plugin; use Piwik\Plugins\Marketplace\Api\Client; use Piwik\Plugins\Marketplace\Api\Service; @@ -79,6 +80,7 @@ class ClientTest extends SystemTestCase 'shop', 'versions', 'isDownloadable', + 'changelog', 'consumer'); $this->assertNotEmpty($plugin); @@ -210,7 +212,7 @@ class ClientTest extends SystemTestCase 'num_users' => $this->environment->getNumUsers(), 'num_websites' => $this->environment->getNumWebsites() ); - $id = 'marketplace.api.2.0.plugins.' . md5(http_build_query($params)); + $id = 'marketplace.api.2.0.plugins.' . md5(Http::buildQuery($params)); $cache = $this->getCache(); $this->assertFalse($cache->contains($id)); @@ -239,7 +241,7 @@ class ClientTest extends SystemTestCase 'mysql' => $this->environment->getMySQLVersion(), 'num_users' => $this->environment->getNumUsers(), 'num_websites' => $this->environment->getNumWebsites()); - $id = 'marketplace.api.2.0.plugins.' . md5(http_build_query($params)); + $id = 'marketplace.api.2.0.plugins.' . md5(Http::buildQuery($params)); $cache = $this->getCache(); $cache->save($id, array('plugins' => array(array('name' => 'foobar')))); |