* [ADD] Unit testing. Work in progress

* [MOD] Code refactoring and minor bugfixes
This commit is contained in:
nuxsmin
2018-07-02 01:18:41 +02:00
parent ae8f6ff7fe
commit e78f853a79
50 changed files with 2139 additions and 1808 deletions

View File

@@ -212,8 +212,7 @@ class UserProfileRepositoryTest extends DatabaseTestCase
$this->assertEquals('Demo', $profile->getName());
$this->assertNotEmpty($profile->getProfile());
$profile = self::$repository->getById(4);
$this->assertCount(0, $profile);
$this->assertNull(self::$repository->getById(4));
}
/**