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:
authorStefan Giehl <stefan@matomo.org>2020-08-18 15:31:05 +0300
committerGitHub <noreply@github.com>2020-08-18 15:31:05 +0300
commitc9682a66981e4428485a2c9760f62567c2366f6d (patch)
tree271da60cbfb479be2625e2690c2c734af2aa7b18 /tests/PHPUnit/Fixtures
parent17ec9004f99b6f7092740558bca71cca6c1ac23c (diff)
fix embedding ui tests (#16298)
Diffstat (limited to 'tests/PHPUnit/Fixtures')
-rw-r--r--tests/PHPUnit/Fixtures/UITestFixture.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/Fixtures/UITestFixture.php b/tests/PHPUnit/Fixtures/UITestFixture.php
index 567b106921..b75ebe079b 100644
--- a/tests/PHPUnit/Fixtures/UITestFixture.php
+++ b/tests/PHPUnit/Fixtures/UITestFixture.php
@@ -133,7 +133,7 @@ class UITestFixture extends SqlDump
if (empty($user)) {
$model->addUser(self::VIEW_USER_LOGIN, self::VIEW_USER_PASSWORD, 'hello2@example.org', Date::now()->getDatetime());
- $model->addUserAccess(self::VIEW_USER_LOGIN, 'view', array(1));
+ $model->addUserAccess(self::VIEW_USER_LOGIN, 'view', array(1, 3));
} else {
$model->updateUser(self::VIEW_USER_LOGIN, self::VIEW_USER_PASSWORD, 'hello2@example.org');
}