From 4c1c6908165e5c4fb1b7238f66764f89faa2301a Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 9 Jan 2020 14:33:00 +0000 Subject: fix markdown test --- tests/unit/includes/MarkdownTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/unit/includes/MarkdownTest.php b/tests/unit/includes/MarkdownTest.php index 61600988d..2a92a58d2 100644 --- a/tests/unit/includes/MarkdownTest.php +++ b/tests/unit/includes/MarkdownTest.php @@ -64,11 +64,11 @@ class MarkdownTest extends UnitTestCase { ], 'HTML entities, lt does not work' => [ '& gt > lt <', - '& gt > lt' + '& gt > lt' ], 'escaped HTML entities' => [ '& lt < gt >', - '& lt < gt >' + '& lt < gt >' ], 'linebreak' => [ "line1
line2\nline3", -- cgit v1.2.3 From 266dcd44bb5e590986b5e9ed5afb8e0106a129db Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 7 May 2020 20:49:52 +0000 Subject: tests: declare return type --- tests/unit/Photo/PhotoGdTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/unit/Photo/PhotoGdTest.php b/tests/unit/Photo/PhotoGdTest.php index 1d4f9467f..634c0e5e9 100644 --- a/tests/unit/Photo/PhotoGdTest.php +++ b/tests/unit/Photo/PhotoGdTest.php @@ -26,7 +26,7 @@ class PhotoGdTest extends UnitTestCase { /** * Prepares the environment before running a test. */ - protected function setUp() { + protected function setUp(): void { parent::setUp(); $data = file_get_contents('images/hz-16.png'); -- cgit v1.2.3 From 64a8913385a68a9382da554c5cb51a7e71edd97b Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 7 May 2020 21:00:49 +0000 Subject: tests: more declare return type --- tests/unit/Photo/PhotoGdTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/unit/Photo/PhotoGdTest.php b/tests/unit/Photo/PhotoGdTest.php index 634c0e5e9..ae7382c43 100644 --- a/tests/unit/Photo/PhotoGdTest.php +++ b/tests/unit/Photo/PhotoGdTest.php @@ -37,7 +37,7 @@ class PhotoGdTest extends UnitTestCase { /** * Cleans up the environment after running a test. */ - protected function tearDown() { + protected function tearDown(): void { $this->photoGd = null; parent::tearDown(); -- cgit v1.2.3