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/TwoFactorAuth/tests/Integration/TwoFactorAuthTest.php')
-rw-r--r--plugins/TwoFactorAuth/tests/Integration/TwoFactorAuthTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/TwoFactorAuth/tests/Integration/TwoFactorAuthTest.php b/plugins/TwoFactorAuth/tests/Integration/TwoFactorAuthTest.php
index 78a6c2f055..7291082949 100644
--- a/plugins/TwoFactorAuth/tests/Integration/TwoFactorAuthTest.php
+++ b/plugins/TwoFactorAuth/tests/Integration/TwoFactorAuthTest.php
@@ -137,8 +137,9 @@ class TwoFactorAuthTest extends IntegrationTestCase
$this->assertEmpty($this->dao->getAllRecoveryCodesForLogin($this->userWith2Fa));
}
- public function test_onDeleteUser_DoesNotFailToAddUserNotUsingTwoFa()
+ public function test_onDeleteUser_DoesNotFailToDeleteUserNotUsingTwoFa()
{
+ $this->expectNotToPerformAssertions();
Request::processRequest('UsersManager.deleteUser', array(
'userLogin' => $this->userWithout2Fa
));