diff options
Diffstat (limited to 'tests/LinkFilterTest.php')
-rw-r--r-- | tests/LinkFilterTest.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/LinkFilterTest.php b/tests/LinkFilterTest.php index f991a9c9..1620bb78 100644 --- a/tests/LinkFilterTest.php +++ b/tests/LinkFilterTest.php | |||
@@ -165,13 +165,12 @@ class LinkFilterTest extends PHPUnit_Framework_TestCase | |||
165 | 165 | ||
166 | /** | 166 | /** |
167 | * No link for this hash | 167 | * No link for this hash |
168 | * | ||
169 | * @expectedException LinkNotFoundException | ||
168 | */ | 170 | */ |
169 | public function testFilterUnknownSmallHash() | 171 | public function testFilterUnknownSmallHash() |
170 | { | 172 | { |
171 | $this->assertEquals( | 173 | self::$linkFilter->filter(LinkFilter::$FILTER_HASH, 'Iblaah'); |
172 | 0, | ||
173 | count(self::$linkFilter->filter(LinkFilter::$FILTER_HASH, 'Iblaah')) | ||
174 | ); | ||
175 | } | 174 | } |
176 | 175 | ||
177 | /** | 176 | /** |