diff options
Diffstat (limited to 'tests/Wallabag/UserBundle')
-rw-r--r-- | tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php b/tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php index fd32f380..d976c4ac 100644 --- a/tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php +++ b/tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php | |||
@@ -68,7 +68,7 @@ class CreateConfigListenerTest extends TestCase | |||
68 | 68 | ||
69 | $this->em->expects($this->once()) | 69 | $this->em->expects($this->once()) |
70 | ->method('persist') | 70 | ->method('persist') |
71 | ->will($this->returnValue($config)); | 71 | ->willReturn($config); |
72 | $this->em->expects($this->once()) | 72 | $this->em->expects($this->once()) |
73 | ->method('flush'); | 73 | ->method('flush'); |
74 | 74 | ||