From 3561937816578a699008c010829142a01580e7bf Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 12 Jun 2025 18:34:54 +0200 Subject: chore: run rector on tests with new rule Signed-off-by: Robin Appelman --- tests/lib/Cache/FileCacheTest.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tests/lib/Cache/FileCacheTest.php') diff --git a/tests/lib/Cache/FileCacheTest.php b/tests/lib/Cache/FileCacheTest.php index af5b3a8abba..a60609782f0 100644 --- a/tests/lib/Cache/FileCacheTest.php +++ b/tests/lib/Cache/FileCacheTest.php @@ -150,11 +150,7 @@ class FileCacheTest extends TestCache { ->method('filemtime') ->willReturn(100); $mockStorage->expects($this->atLeastOnce()) - ->method('unlink') - ->will($this->onConsecutiveCalls( - $this->throwException($testException), - $this->returnValue(true) - )); + ->method('unlink')->willReturnOnConsecutiveCalls($this->throwException($testException), $this->returnValue(true)); $this->instance->set('key1', 'value1'); $this->instance->set('key2', 'value2'); -- cgit v1.2.3