phpunit bug fixes

This commit is contained in:
Dennis Eichhorn 2021-07-17 21:12:30 +02:00
parent 68cfcbbf45
commit d16c1b5509
2 changed files with 2 additions and 2 deletions

View File

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

View File

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