diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-10-01 16:35:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-01 16:35:48 +0200 |
commit | c4bf7af96f52aaafd13049e74f27b368eec79bf8 (patch) | |
tree | c1126ee4ec55c82645b10ef65f4657aa80930657 /tests | |
parent | db5541e7a1e7131d62b4df23fa6eadd0c542b256 (diff) | |
parent | 40e219622a2c416ab36cb39b26a5e1354e4438cc (diff) | |
download | wallabag-c4bf7af96f52aaafd13049e74f27b368eec79bf8.tar.gz wallabag-c4bf7af96f52aaafd13049e74f27b368eec79bf8.tar.zst wallabag-c4bf7af96f52aaafd13049e74f27b368eec79bf8.zip |
Merge pull request #2322 from wallabag/v2-404
Customize errors templates
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Wallabag/CoreBundle/ParamConverter/UsernameRssTokenConverterTest.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/Wallabag/CoreBundle/ParamConverter/UsernameRssTokenConverterTest.php b/tests/Wallabag/CoreBundle/ParamConverter/UsernameRssTokenConverterTest.php index e29b58b5..2e6fccfb 100644 --- a/tests/Wallabag/CoreBundle/ParamConverter/UsernameRssTokenConverterTest.php +++ b/tests/Wallabag/CoreBundle/ParamConverter/UsernameRssTokenConverterTest.php | |||
@@ -125,16 +125,14 @@ class UsernameRssTokenConverterTest extends \PHPUnit_Framework_TestCase | |||
125 | $this->assertTrue($converter->supports($params)); | 125 | $this->assertTrue($converter->supports($params)); |
126 | } | 126 | } |
127 | 127 | ||
128 | /** | ||
129 | * @expectedException InvalidArgumentException | ||
130 | * @expectedExceptionMessage Route attribute is missing | ||
131 | */ | ||
132 | public function testApplyEmptyRequest() | 128 | public function testApplyEmptyRequest() |
133 | { | 129 | { |
134 | $params = new ParamConverter([]); | 130 | $params = new ParamConverter([]); |
135 | $converter = new UsernameRssTokenConverter(); | 131 | $converter = new UsernameRssTokenConverter(); |
136 | 132 | ||
137 | $converter->apply(new Request(), $params); | 133 | $res = $converter->apply(new Request(), $params); |
134 | |||
135 | $this->assertFalse($res); | ||
138 | } | 136 | } |
139 | 137 | ||
140 | /** | 138 | /** |