diff options
Diffstat (limited to 'tests/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilderTest.php')
-rw-r--r-- | tests/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilderTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilderTest.php b/tests/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilderTest.php index 7beccd30..277d8012 100644 --- a/tests/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilderTest.php +++ b/tests/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilderTest.php | |||
@@ -33,7 +33,7 @@ class GrabySiteConfigBuilderTest extends TestCase | |||
33 | $grabyConfigBuilderMock | 33 | $grabyConfigBuilderMock |
34 | ->method('buildForHost') | 34 | ->method('buildForHost') |
35 | ->with('example.com') | 35 | ->with('example.com') |
36 | ->will($this->returnValue($grabySiteConfig)); | 36 | ->willReturn($grabySiteConfig); |
37 | 37 | ||
38 | $logger = new Logger('foo'); | 38 | $logger = new Logger('foo'); |
39 | $handler = new TestHandler(); | 39 | $handler = new TestHandler(); |
@@ -93,7 +93,7 @@ class GrabySiteConfigBuilderTest extends TestCase | |||
93 | $grabyConfigBuilderMock | 93 | $grabyConfigBuilderMock |
94 | ->method('buildForHost') | 94 | ->method('buildForHost') |
95 | ->with('unknown.com') | 95 | ->with('unknown.com') |
96 | ->will($this->returnValue(new GrabySiteConfig())); | 96 | ->willReturn(new GrabySiteConfig()); |
97 | 97 | ||
98 | $logger = new Logger('foo'); | 98 | $logger = new Logger('foo'); |
99 | $handler = new TestHandler(); | 99 | $handler = new TestHandler(); |
@@ -153,7 +153,7 @@ class GrabySiteConfigBuilderTest extends TestCase | |||
153 | $grabyConfigBuilderMock | 153 | $grabyConfigBuilderMock |
154 | ->method('buildForHost') | 154 | ->method('buildForHost') |
155 | ->with('example.com') | 155 | ->with('example.com') |
156 | ->will($this->returnValue($grabySiteConfig)); | 156 | ->willReturn($grabySiteConfig); |
157 | 157 | ||
158 | $logger = new Logger('foo'); | 158 | $logger = new Logger('foo'); |
159 | $handler = new TestHandler(); | 159 | $handler = new TestHandler(); |