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>2021-03-18 22:48:46 +0300
committerGitHub <noreply@github.com>2021-03-18 22:48:46 +0300
commitf8bb64aee18b3a30bd948a44672c940501116db9 (patch)
tree16408c11269d08f3bc8b5fa3fb829a32180789ce /plugins/Feedback/tests/Integration
parentdabc1caf64b16f40298bd6b7c43cf93cd0071b07 (diff)
Fixes a couple of regressions & tests (#17358)
* Fix regression in feedback js * fix some more feedback regressions * update submodule * fix site selection when creating a new user * fix ui test
Diffstat (limited to 'plugins/Feedback/tests/Integration')
-rw-r--r--plugins/Feedback/tests/Integration/ReferBannerTest.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/Feedback/tests/Integration/ReferBannerTest.php b/plugins/Feedback/tests/Integration/ReferBannerTest.php
index b7b86aeae3..6e33a73604 100644
--- a/plugins/Feedback/tests/Integration/ReferBannerTest.php
+++ b/plugins/Feedback/tests/Integration/ReferBannerTest.php
@@ -6,8 +6,7 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
-namespace Piwik\Plugins\Feedback\tests\Unit;
-
+namespace Piwik\Plugins\Feedback\tests\Integration;
use Piwik\Date;
use Piwik\Option;
@@ -46,7 +45,11 @@ class ReferBannerTest extends IntegrationTestCase
public function tearDown(): void
{
Option::deleteLike('Feedback.nextReferReminder.%');
- $this->userModel->deleteUserOnly('user1');
+ try {
+ $this->userModel->deleteUserOnly('user1');
+ } catch (\Exception $e) {
+ // ignore possible errors triggered when the delete user event is posted
+ }
parent::tearDown();
}