aboutsummaryrefslogtreecommitdiff
path: root/tests/app/Models
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app/Models')
-rw-r--r--tests/app/Models/CategoryTest.php3
-rw-r--r--tests/app/Models/SearchTest.php3
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/app/Models/CategoryTest.php b/tests/app/Models/CategoryTest.php
index 840c718ce..e4a921baa 100644
--- a/tests/app/Models/CategoryTest.php
+++ b/tests/app/Models/CategoryTest.php
@@ -25,7 +25,8 @@ class CategoryTest extends PHPUnit\Framework\TestCase {
array(' this string needs trimming on left', 'this string needs trimming on left'),
array('this string needs trimming on right ', 'this string needs trimming on right'),
array(' this string needs trimming on both ends ', 'this string needs trimming on both ends'),
- array(str_repeat('This string needs to be shortened because its length is way too long. ', 4), str_repeat('This string needs to be shortened because its length is way too long. ', 3) . 'This string needs to be shortened because its'),
+ array(str_repeat('This string needs to be shortened because its length is way too long. ', 4),
+ str_repeat('This string needs to be shortened because its length is way too long. ', 3) . 'This string needs to be shortened because its'),
);
}
diff --git a/tests/app/Models/SearchTest.php b/tests/app/Models/SearchTest.php
index 357f91acd..2efdffda9 100644
--- a/tests/app/Models/SearchTest.php
+++ b/tests/app/Models/SearchTest.php
@@ -228,7 +228,8 @@ class SearchTest extends PHPUnit\Framework\TestCase {
* @param array $tags_value
* @param string|null $search_value
*/
- public function test__construct_whenInputContainsMultipleKeywords_setsValues($input, $author_value, $min_date_value, $max_date_value, $intitle_value, $inurl_value, $min_pubdate_value, $max_pubdate_value, $tags_value, $search_value) {
+ public function test__construct_whenInputContainsMultipleKeywords_setsValues($input, $author_value, $min_date_value,
+ $max_date_value, $intitle_value, $inurl_value, $min_pubdate_value, $max_pubdate_value, $tags_value, $search_value) {
$search = new FreshRSS_Search($input);
$this->assertEquals($author_value, $search->getAuthor());
$this->assertEquals($min_date_value, $search->getMinDate());