diff options
Diffstat (limited to 'plugins/Feedback')
-rw-r--r-- | plugins/Feedback/tests/Integration/ControllerTest.php | 1 | ||||
-rw-r--r-- | plugins/Feedback/tests/Integration/FeedbackTest.php | 1 |
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; |