mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-01-31 02:38:40 +00:00
phpunit bug fixes
This commit is contained in:
parent
68cfcbbf45
commit
d16c1b5509
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user