diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-08-14 01:57:39 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-08-14 01:57:39 +0200 |
commit | 2d4806ad4d2ae40c4ee12f9781218a6369b6c25b (patch) | |
tree | d40d9c19507a94ade82323c73bddecf025ad466d /tests/unit/db/ItemTest.php | |
parent | 07eb992fa5576d77abafde2688ed90f81060d285 (diff) |
also allow magnet urls in article links, fix #313
Diffstat (limited to 'tests/unit/db/ItemTest.php')
-rw-r--r-- | tests/unit/db/ItemTest.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit/db/ItemTest.php b/tests/unit/db/ItemTest.php index 971d808f0..db9153086 100644 --- a/tests/unit/db/ItemTest.php +++ b/tests/unit/db/ItemTest.php @@ -126,4 +126,10 @@ class ItemTest extends \PHPUnit_Framework_TestCase { } + public function testSetMagnetUrl() { + $item = new Item(); + $item->setUrl('magnet://link.com'); + $this->assertEquals('magnet://link.com', $item->getUrl()); + } + }
\ No newline at end of file |