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:
Diffstat (limited to 'plugins/Login/tests/Integration/LoginTest.php')
-rw-r--r--plugins/Login/tests/Integration/LoginTest.php14
1 files changed, 8 insertions, 6 deletions
diff --git a/plugins/Login/tests/Integration/LoginTest.php b/plugins/Login/tests/Integration/LoginTest.php
index 39f2cc3e76..533a5747d4 100644
--- a/plugins/Login/tests/Integration/LoginTest.php
+++ b/plugins/Login/tests/Integration/LoginTest.php
@@ -341,14 +341,16 @@ class LoginTest extends IntegrationTestCase
protected function _setUpUser()
{
- $user = array('login' => 'user',
- 'password' => 'geqgeagae',
- 'email' => 'test@test.com',
- 'superuser_access' => 0);
+ $user = array(
+ 'login' => 'user',
+ 'password' => 'geqgeagae',
+ 'email' => 'test@test.com',
+ 'superuser_access' => 0
+ );
API::getInstance()->addUser($user['login'], $user['password'], $user['email']);
- $model = new \Piwik\Plugins\UsersManager\Model();
+ $model = new \Piwik\Plugins\UsersManager\Model();
$tokenAuth = $model->generateRandomTokenAuth();
$model->addTokenAuth($user['login'], $tokenAuth, 'many users test', Date::now()->getDatetime());
@@ -393,7 +395,7 @@ class LoginTest extends IntegrationTestCase
public function provideContainerConfig()
{
return array(
- 'Piwik\Access' => new FakeAccess()
+ 'Piwik\Access' => new FakeAccess()
);
}
}