mirror of
https://github.com/Karaka-Management/oms-Tag.git
synced 2026-01-11 07:38:41 +00:00
add/change docs
This commit is contained in:
parent
a1239628f3
commit
bbcccb4a8a
|
|
@ -41,6 +41,9 @@ class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
/** @var \Modules\Tag\Controller\ApiController $module */
|
||||
protected $module = null;
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp() : void
|
||||
{
|
||||
$this->app = new class() extends ApplicationAbstract
|
||||
|
|
@ -81,6 +84,11 @@ class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
|||
TestUtils::setMember($this->module, 'app', $this->app);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tag id of the last tag created
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
**/
|
||||
private static int $tagId = 0;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@ class TagL11nTest extends \PHPUnit\Framework\TestCase
|
|||
{
|
||||
private TagL11n $l11n;
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp() : void
|
||||
{
|
||||
$this->l11n = new TagL11n();
|
||||
|
|
|
|||
|
|
@ -26,6 +26,9 @@ class TagTest extends \PHPUnit\Framework\TestCase
|
|||
{
|
||||
private Tag $tag;
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp() : void
|
||||
{
|
||||
$this->tag = new Tag();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user