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/lib/Files/Storage | |
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/lib/Files/Storage')
-rw-r--r-- | tests/lib/Files/Storage/Wrapper/AvailabilityTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Files/Storage/Wrapper/AvailabilityTest.php b/tests/lib/Files/Storage/Wrapper/AvailabilityTest.php index 9d237d28d6f..8e2ead4a423 100644 --- a/tests/lib/Files/Storage/Wrapper/AvailabilityTest.php +++ b/tests/lib/Files/Storage/Wrapper/AvailabilityTest.php @@ -106,7 +106,7 @@ class AvailabilityTest extends \Test\TestCase { ->method('test'); $this->storage->expects($this->once()) ->method('mkdir') - ->will($this->throwException(new StorageNotAvailableException())); + ->willThrowException(new StorageNotAvailableException()); $this->storageCache->expects($this->once()) ->method('setAvailability') ->with($this->equalTo(false)); @@ -148,7 +148,7 @@ class AvailabilityTest extends \Test\TestCase { ->method('test'); $this->storage->expects($this->once()) ->method('mkdir') - ->will($this->throwException(new \Exception())); + ->willThrowException(new \Exception()); $this->storage->expects($this->never()) ->method('setAvailability'); |