summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2018-10-04 10:54:43 +0200
committerBenjamin Brahmer <info@b-brahmer.de>2018-10-04 10:54:43 +0200
commit4456ef4a338206df655bf738f4ac850475c94032 (patch)
tree71658d967ea29f3f30014da0f0983a0274480101 /tests
parent68c656fea78beae98da9e9b1b35937028ba29ade (diff)
fix FeedTest and revert packacge-lock
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/Db/FeedTest.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/Unit/Db/FeedTest.php b/tests/Unit/Db/FeedTest.php
index 53bfe63f4..47595633d 100644
--- a/tests/Unit/Db/FeedTest.php
+++ b/tests/Unit/Db/FeedTest.php
@@ -20,7 +20,7 @@ class FeedTest extends TestCase
{
- private function createFeed()
+ private function createFeed()
{
$feed = new Feed();
$feed->setId(3);
@@ -45,7 +45,7 @@ class FeedTest extends TestCase
return $feed;
}
- public function testToAPI()
+ public function testToAPI()
{
$feed = $this->createFeed();
@@ -68,7 +68,7 @@ class FeedTest extends TestCase
}
- public function testSerialize()
+ public function testSerialize()
{
$feed = $this->createFeed();
@@ -102,9 +102,9 @@ class FeedTest extends TestCase
}
- public function testSetXSSUrl()
+ public function testSetXSSUrl()
{
- $this->setExpectedException(\TypeError::class);
+ $this->expectException(\TypeError::class);
$feed = new Feed();
$feed->setUrl('javascript:alert()');
@@ -112,7 +112,7 @@ class FeedTest extends TestCase
}
- public function testSetUrlUpdatesHash()
+ public function testSetUrlUpdatesHash()
{
$feed = new Feed();
$feed->setUrl('http://test');
@@ -120,7 +120,7 @@ class FeedTest extends TestCase
}
- public function testSetXSSLink()
+ public function testSetXSSLink()
{
$feed = new Feed();
$feed->setLink('javascript:alert()');