summaryrefslogtreecommitdiffstats
path: root/tests/Integration/Fixtures/FeedFixture.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Integration/Fixtures/FeedFixture.php')
-rw-r--r--tests/Integration/Fixtures/FeedFixture.php14
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/Integration/Fixtures/FeedFixture.php b/tests/Integration/Fixtures/FeedFixture.php
index 3d7617a57..66461adbc 100644
--- a/tests/Integration/Fixtures/FeedFixture.php
+++ b/tests/Integration/Fixtures/FeedFixture.php
@@ -5,7 +5,7 @@
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
- * @author Bernhard Posselt <dev@bernhard-posselt.com>
+ * @author Bernhard Posselt <dev@bernhard-posselt.com>
* @copyright Bernhard Posselt 2015
*/
@@ -15,13 +15,16 @@ namespace OCA\News\Tests\Integration\Fixtures;
use OCA\News\Db\Feed;
-class FeedFixture extends Feed {
+class FeedFixture extends Feed
+{
use Fixture;
- public function __construct(array $defaults=[]) {
+ public function __construct(array $defaults=[])
+ {
parent::__construct();
- $defaults = array_merge([
+ $defaults = array_merge(
+ [
'userId' => 'test',
'urlHash' => 'urlHash',
'url' => 'http://the.url.com',
@@ -42,7 +45,8 @@ class FeedFixture extends Feed {
'updateMode' => 0,
'updateErrorCount' => 0,
'lastUpdateError' => '',
- ], $defaults);
+ ], $defaults
+ );
unset($defaults['items']);
$this->fillDefaults($defaults);
}