1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +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

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