Skip to content

Commit 7e9e8d0

Browse files
[Tests] Replace setMethods() by onlyMethods() and addMethods()
1 parent 3bb6ee5 commit 7e9e8d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Session/Storage/Handler/MemcachedSessionHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected function setUp(): void
4545

4646
$this->memcached = $this->getMockBuilder(\Memcached::class)
4747
->disableOriginalConstructor()
48-
->setMethods($methodsToMock)
48+
->onlyMethods($methodsToMock)
4949
->getMock();
5050

5151
$this->storage = new MemcachedSessionHandler(

0 commit comments

Comments
 (0)