diff options
Diffstat (limited to 'tests/units/User/DatabaseUserProviderTest.php')
-rw-r--r-- | tests/units/User/DatabaseUserProviderTest.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/units/User/DatabaseUserProviderTest.php b/tests/units/User/DatabaseUserProviderTest.php new file mode 100644 index 00000000..96c03667 --- /dev/null +++ b/tests/units/User/DatabaseUserProviderTest.php @@ -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()); + } +} |