mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-01-29 07:18:42 +00:00
fix tests and replace file_exists
This commit is contained in:
parent
6aa5b2f96d
commit
21efcaebae
|
|
@ -21,6 +21,10 @@ use Modules\Profile\Models\Profile;
|
|||
*/
|
||||
class ProfileTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Modules\Profile\Models\Profile
|
||||
* @group module
|
||||
*/
|
||||
public function testDefault() : void
|
||||
{
|
||||
$profile = new Profile();
|
||||
|
|
@ -30,6 +34,10 @@ class ProfileTest extends \PHPUnit\Framework\TestCase
|
|||
self::assertInstanceOf('\DateTime', $profile->getBirthday());
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Profile\Models\Profile
|
||||
* @group module
|
||||
*/
|
||||
public function testSetGet() : void
|
||||
{
|
||||
$profile = new Profile();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user