diff options
author | Robin Appelman <robin@icewind.nl> | 2025-06-12 18:34:54 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2025-06-12 18:38:29 +0200 |
commit | 3561937816578a699008c010829142a01580e7bf (patch) | |
tree | 83544b8fccc08e8bb73b81ddbc426180f02bd13b /tests/Core/Controller/ChangePasswordControllerTest.php | |
parent | 3cc34ac29da76e17952bfc84ddc1a5f066680d8f (diff) | |
download | nextcloud-server-rector-tests.tar.gz nextcloud-server-rector-tests.zip |
chore: run rector on tests with new rulerector-tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests/Core/Controller/ChangePasswordControllerTest.php')
-rw-r--r-- | tests/Core/Controller/ChangePasswordControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Core/Controller/ChangePasswordControllerTest.php b/tests/Core/Controller/ChangePasswordControllerTest.php index a806b091477..91d23c1104e 100644 --- a/tests/Core/Controller/ChangePasswordControllerTest.php +++ b/tests/Core/Controller/ChangePasswordControllerTest.php @@ -96,7 +96,7 @@ class ChangePasswordControllerTest extends \Test\TestCase { $user->expects($this->once()) ->method('setPassword') ->with('new') - ->will($this->throwException(new HintException('Common password'))); + ->willThrowException(new HintException('Common password')); $expects = new JSONResponse([ 'status' => 'error', |