mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-02-16 00:08:41 +00:00
fix @covers
This commit is contained in:
parent
3986de2ed8
commit
46c4fe2d7e
|
|
@ -41,7 +41,7 @@ return [
|
||||||
],
|
],
|
||||||
'^.*/organization/unit/create.*$' => [
|
'^.*/organization/unit/create.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Media\Controller\BackendController::setUpFileUploader',
|
'dest' => '\Modules\Media\Controller\BackendController::setUpFileUploaderTrait',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => BackendController::MODULE_NAME,
|
'module' => BackendController::MODULE_NAME,
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,10 @@ use Modules\Organization\Models\NullUnit;
|
||||||
*/
|
*/
|
||||||
class DepartmentMapperTest extends \PHPUnit\Framework\TestCase
|
class DepartmentMapperTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @covers Modules\Organization\Models\DepartmentMapper
|
||||||
|
* @group module
|
||||||
|
*/
|
||||||
public function testCRUD() : void
|
public function testCRUD() : void
|
||||||
{
|
{
|
||||||
$department = new Department();
|
$department = new Department();
|
||||||
|
|
@ -45,6 +49,7 @@ class DepartmentMapperTest extends \PHPUnit\Framework\TestCase
|
||||||
* @group volume
|
* @group volume
|
||||||
* @slowThreshold 15000
|
* @slowThreshold 15000
|
||||||
* @group module
|
* @group module
|
||||||
|
* @coversNothing
|
||||||
*/
|
*/
|
||||||
public function testVolume() : void
|
public function testVolume() : void
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,10 @@ use Modules\Organization\Models\PositionMapper;
|
||||||
*/
|
*/
|
||||||
class PositionMapperTest extends \PHPUnit\Framework\TestCase
|
class PositionMapperTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @covers Modules\Organization\Models\PositionMapper
|
||||||
|
* @group module
|
||||||
|
*/
|
||||||
public function testCRUD() : void
|
public function testCRUD() : void
|
||||||
{
|
{
|
||||||
$position = new Position();
|
$position = new Position();
|
||||||
|
|
@ -42,6 +46,7 @@ class PositionMapperTest extends \PHPUnit\Framework\TestCase
|
||||||
* @group volume
|
* @group volume
|
||||||
* @slowThreshold 15000
|
* @slowThreshold 15000
|
||||||
* @group module
|
* @group module
|
||||||
|
* @coversNothing
|
||||||
*/
|
*/
|
||||||
public function testVolume() : void
|
public function testVolume() : void
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,10 @@ use Modules\Organization\Models\UnitMapper;
|
||||||
*/
|
*/
|
||||||
class UnitMapperTest extends \PHPUnit\Framework\TestCase
|
class UnitMapperTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @covers Modules\Organization\Models\UnitMapper
|
||||||
|
* @group module
|
||||||
|
*/
|
||||||
public function testCRUD() : void
|
public function testCRUD() : void
|
||||||
{
|
{
|
||||||
$unit = new Unit();
|
$unit = new Unit();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user