Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2016-12-02 07:08:15 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2016-12-02 07:08:15 +0300
commita9038318a94cc32f0f15add5272322ff6afe71f5 (patch)
tree9bcd2bf82fe8087e819ce679d07c678b92660ec0 /plugins/BulkTracking
parentc10a289bf1e6dc11347b3d0f7235ffd9fa9aaaad (diff)
Password hashing (#10926)
Diffstat (limited to 'plugins/BulkTracking')
-rw-r--r--plugins/BulkTracking/tests/Integration/RequestsTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/BulkTracking/tests/Integration/RequestsTest.php b/plugins/BulkTracking/tests/Integration/RequestsTest.php
index ab45204303..7f6236d82c 100644
--- a/plugins/BulkTracking/tests/Integration/RequestsTest.php
+++ b/plugins/BulkTracking/tests/Integration/RequestsTest.php
@@ -89,7 +89,7 @@ class RequestsTest extends IntegrationTestCase
*/
public function test_authenticateRequests_shouldThrowAnException_IfTokenIsNotValid()
{
- $dummyToken = API::getInstance()->getTokenAuth('test', UsersManager::getPasswordHash('2'));
+ $dummyToken = API::getInstance()->createTokenAuth('test');
$superUserToken = $this->getSuperUserToken();
$requests = array($this->buildDummyRequest($superUserToken), $this->buildDummyRequest($dummyToken));