Latest updates from IceHrmPro
This commit is contained in:
21
test/unit/EmployeeUtilUnit.php
Normal file
21
test/unit/EmployeeUtilUnit.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Test\Unit;
|
||||
|
||||
use Employees\Admin\Api\EmployeeUtil;
|
||||
|
||||
class EmployeeUtilUnit extends \TestTemplate
|
||||
{
|
||||
protected function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
}
|
||||
|
||||
public function testMapping()
|
||||
{
|
||||
$emplyeeUtils = new EmployeeUtil();
|
||||
$data = json_decode($emplyeeUtils->getMapping(), true);
|
||||
|
||||
$this->assertEquals($data['nationality'][0], 'Nationality');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user