mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-02-11 10:28:41 +00:00
fix @covers
This commit is contained in:
parent
d27bc2bc49
commit
e153df4ee4
|
|
@ -24,6 +24,10 @@ use Modules\Profile\Models\ProfileMapper;
|
||||||
*/
|
*/
|
||||||
class EmployeeHistoryMapperTest extends \PHPUnit\Framework\TestCase
|
class EmployeeHistoryMapperTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @covers Modules\HumanResourceManagement\Models\EmployeeHistoryMapper
|
||||||
|
* @group module
|
||||||
|
*/
|
||||||
public function testCRUD() : void
|
public function testCRUD() : void
|
||||||
{
|
{
|
||||||
$employee = new Employee(ProfileMapper::get(1));
|
$employee = new Employee(ProfileMapper::get(1));
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,10 @@ use Modules\Profile\Models\ProfileMapper;
|
||||||
*/
|
*/
|
||||||
class EmployeeMapperTest extends \PHPUnit\Framework\TestCase
|
class EmployeeMapperTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @covers Modules\HumanResourceManagement\Models\EmployeeMapper
|
||||||
|
* @group module
|
||||||
|
*/
|
||||||
public function testCR() : void
|
public function testCR() : void
|
||||||
{
|
{
|
||||||
if (($profile = ProfileMapper::getFor(1, 'account'))->getId() === 0) {
|
if (($profile = ProfileMapper::getFor(1, 'account'))->getId() === 0) {
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,10 @@ use Modules\HumanResourceManagement\Models\Employee;
|
||||||
*/
|
*/
|
||||||
class EmployeeTest extends \PHPUnit\Framework\TestCase
|
class EmployeeTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @covers Modules\HumanResourceManagement\Models\Employee
|
||||||
|
* @group module
|
||||||
|
*/
|
||||||
public function testDefault() : void
|
public function testDefault() : void
|
||||||
{
|
{
|
||||||
$employee = new Employee();
|
$employee = new Employee();
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,10 @@ use Modules\HumanResourceManagement\Models\EmployeeHistory;
|
||||||
*/
|
*/
|
||||||
class EmployeeHistoryTest extends \PHPUnit\Framework\TestCase
|
class EmployeeHistoryTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @covers Modules\HumanResourceManagement\Models\EmployeeHistory
|
||||||
|
* @group module
|
||||||
|
*/
|
||||||
public function testDefault() : void
|
public function testDefault() : void
|
||||||
{
|
{
|
||||||
$history = new EmployeeHistory();
|
$history = new EmployeeHistory();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user