1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Replace setMethods by onlyMethods

This commit is contained in:
Yassine Guedidi 2025-04-01 23:07:49 +02:00
parent f3e88ec461
commit c50265c1eb
3 changed files with 21 additions and 21 deletions

View file

@ -1721,7 +1721,7 @@ class EntryControllerTest extends WallabagTestCase
$container = $client->getContainer();
$contentProxy = $this->getMockBuilder(ContentProxy::class)
->disableOriginalConstructor()
->setMethods(['updateEntry'])
->onlyMethods(['updateEntry'])
->getMock();
$contentProxy->expects($this->any())
->method('updateEntry')