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());