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:
authorZoltan Flamis <zoltan@innocraft.com>2021-02-23 05:41:15 +0300
committerGitHub <noreply@github.com>2021-02-23 05:41:15 +0300
commitd288c96baf2b4c30b022364f6fdefe00b41e3821 (patch)
treee2625897d0c7da55abfdbe1733d2400d0e6fed14 /plugins/Feedback
parent45fbd45ba47ed2d8ed0ea96e46d5c62d8d4f5264 (diff)
13976 segments not deleted (#17231)
* transfer segments when user deleted * test transferAllUserSegments * test deleted user lost segments * fix test errors * remove static modifier Co-authored-by: dizzy <diosmosis@users.noreply.github.com>
Diffstat (limited to 'plugins/Feedback')
-rw-r--r--plugins/Feedback/tests/Integration/ControllerTest.php1
-rw-r--r--plugins/Feedback/tests/Integration/FeedbackTest.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Feedback/tests/Integration/ControllerTest.php b/plugins/Feedback/tests/Integration/ControllerTest.php
index 67f41da8d9..533dc533f5 100644
--- a/plugins/Feedback/tests/Integration/ControllerTest.php
+++ b/plugins/Feedback/tests/Integration/ControllerTest.php
@@ -47,6 +47,7 @@ class ControllerTest extends IntegrationTestCase
public function tearDown(): void
{
+ FakeAccess::$identity = 'user1';
Option::deleteLike('Feedback.nextFeedbackReminder.%');
$this->userModel->deleteUserOnly('user1');
Date::$now = $this->now;
diff --git a/plugins/Feedback/tests/Integration/FeedbackTest.php b/plugins/Feedback/tests/Integration/FeedbackTest.php
index f044592a84..5b926e57d1 100644
--- a/plugins/Feedback/tests/Integration/FeedbackTest.php
+++ b/plugins/Feedback/tests/Integration/FeedbackTest.php
@@ -48,6 +48,7 @@ class FeedbackTest extends IntegrationTestCase
public function tearDown(): void
{
+ FakeAccess::$identity = 'user1';
Option::deleteLike('Feedback.nextFeedbackReminder.%');
$this->userModel->deleteUserOnly('user1');
Date::$now = $this->now;