mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-15 14:58:40 +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
|
class ProfileTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @covers Modules\Profile\Models\Profile
|
||||||
|
* @group module
|
||||||
|
*/
|
||||||
public function testDefault() : void
|
public function testDefault() : void
|
||||||
{
|
{
|
||||||
$profile = new Profile();
|
$profile = new Profile();
|
||||||
|
|
@ -30,6 +34,10 @@ class ProfileTest extends \PHPUnit\Framework\TestCase
|
||||||
self::assertInstanceOf('\DateTime', $profile->getBirthday());
|
self::assertInstanceOf('\DateTime', $profile->getBirthday());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @covers Modules\Profile\Models\Profile
|
||||||
|
* @group module
|
||||||
|
*/
|
||||||
public function testSetGet() : void
|
public function testSetGet() : void
|
||||||
{
|
{
|
||||||
$profile = new Profile();
|
$profile = new Profile();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user