fix tests and replace file_exists

This commit is contained in:
Dennis Eichhorn 2020-10-08 15:12:24 +02:00
parent 6aa5b2f96d
commit 21efcaebae

View File

@ -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();