diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-05-24 13:26:58 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-01-24 09:34:09 +0100 |
commit | a23cd7b961fc7c0d8d52cf2d914bdee36e2a40bc (patch) | |
tree | 208635ac91b56440923ab0d193cea62510eca708 /tests/Core/Service | |
parent | f867a2d65e825800d6bf1b685659677f6136ac5f (diff) | |
download | nextcloud-server-a23cd7b961fc7c0d8d52cf2d914bdee36e2a40bc.tar.gz nextcloud-server-a23cd7b961fc7c0d8d52cf2d914bdee36e2a40bc.zip |
Fix a bunch of deprecation in the phpunit for core
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'tests/Core/Service')
-rw-r--r-- | tests/Core/Service/LoginFlowV2ServiceUnitTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Core/Service/LoginFlowV2ServiceUnitTest.php b/tests/Core/Service/LoginFlowV2ServiceUnitTest.php index c3128dca334..57443ca1328 100644 --- a/tests/Core/Service/LoginFlowV2ServiceUnitTest.php +++ b/tests/Core/Service/LoginFlowV2ServiceUnitTest.php @@ -350,7 +350,7 @@ class LoginFlowV2ServiceUnitTest extends TestCase { // app password is encrypted and must look like: // ZACZOOzxTpKz4+KXL5kZ/gCK0xvkaVi/8yzupAn6Ui6+5qCSKvfPKGgeDRKs0sivvSLzk/XSp811SZCZmH0Y3g== - $this->assertRegExp('/[a-zA-Z\/0-9+=]+/', $loginFlowV2->getAppPassword()); + $this->assertMatchesRegularExpression('/[a-zA-Z\/0-9+=]+/', $loginFlowV2->getAppPassword()); $this->assertEquals('server', $loginFlowV2->getServer()); } |