From d16c1b5509dd763c55156f2b0b740cccdc3723fe Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 17 Jul 2021 21:12:30 +0200 Subject: [PATCH] phpunit bug fixes --- tests/Controller/ApiControllerTest.php | 2 +- tests/Models/EditorDocTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Controller/ApiControllerTest.php b/tests/Controller/ApiControllerTest.php index 0be62ff..0b28d9b 100755 --- a/tests/Controller/ApiControllerTest.php +++ b/tests/Controller/ApiControllerTest.php @@ -115,7 +115,7 @@ class ApiControllerTest extends \PHPUnit\Framework\TestCase public function testCreateEditorDocWithExistingTag() : void { $tag = new Tag(); - $tag->setTitle('EditorDocTest'); + $tag->setL11n('EditorDocTest'); $tagId = TagMapper::create($tag); $response = new HttpResponse(); diff --git a/tests/Models/EditorDocTest.php b/tests/Models/EditorDocTest.php index 4f288ee..01235db 100755 --- a/tests/Models/EditorDocTest.php +++ b/tests/Models/EditorDocTest.php @@ -102,7 +102,7 @@ class EditorDocTest extends \PHPUnit\Framework\TestCase public function testTagInputOutput() : void { $tag = new Tag(); - $tag->setTitle('Tag'); + $tag->setL11n('Tag'); $this->doc->addTag($tag); self::assertCount(1, $this->doc->getTags());