Notes:
- You can implement your own methods
getAvatar
andgetUsername
in theuserIdentityClass
. Just create this methods in your User model. For example:
public function getAvatar()
{
// your custom code
}
public function getUsername()
{
// your custom code
}
Run tests in extention folder.
$ ./vendor/bin/phpunit
Note! For running all tests needed upload all dependencies by composer. If tested single extention, then run command from root directory where located extention:
composer update
When all dependencies downloaded run all tests in terminal from root folder:
./vendor/bin/phpunit tests
Or for only unit:
./vendor/bin/phpunit --testsuite Unit
If extention tested in app, then set correct path to phpunit and run some commands.
The MIT License (MIT). Please see License File for more information.