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/Feedback/tests/Integration/FeedbackTest.php')
-rw-r--r--plugins/Feedback/tests/Integration/FeedbackTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Feedback/tests/Integration/FeedbackTest.php b/plugins/Feedback/tests/Integration/FeedbackTest.php
index 02031e31f0..072a12186b 100644
--- a/plugins/Feedback/tests/Integration/FeedbackTest.php
+++ b/plugins/Feedback/tests/Integration/FeedbackTest.php
@@ -26,11 +26,11 @@ class FeedbackTest extends IntegrationTestCase
private $now;
- public function setUp()
+ public function setUp(): void
{
parent::setUp();
- $this->feedback = $this->getMock(Feedback::class, ['isDisabledInTestMode']);
+ $this->feedback = $this->createPartialMock(Feedback::class, ['isDisabledInTestMode']);
$this->feedback->method('isDisabledInTestMode')->willReturn(false);
$this->userModel = new Model();
@@ -48,7 +48,7 @@ class FeedbackTest extends IntegrationTestCase
$this->now = Date::$now;
}
- public function tearDown()
+ public function tearDown(): void
{
Option::deleteLike('Feedback.nextFeedbackReminder.%');
$this->userModel->deleteUserOnly('user1');