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:
parent
f3e88ec461
commit
c50265c1eb
3 changed files with 21 additions and 21 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue