Rewrite of the authentication and authorization system
This commit is contained in:
14
tests/units/User/DatabaseUserProviderTest.php
Normal file
14
tests/units/User/DatabaseUserProviderTest.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
require_once __DIR__.'/../Base.php';
|
||||
|
||||
use Kanboard\User\DatabaseUserProvider;
|
||||
|
||||
class DatabaseUserProviderTest extends Base
|
||||
{
|
||||
public function testGetInternalId()
|
||||
{
|
||||
$provider = new DatabaseUserProvider(array('id' => 123));
|
||||
$this->assertEquals(123, $provider->getInternalId());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user