Implemented more tests for user

This commit is contained in:
Kevin Frantz
2018-11-04 12:40:57 +01:00
parent 577f30e0f7
commit 60a071c428
4 changed files with 40 additions and 0 deletions

View File

@@ -24,5 +24,7 @@ class UserSourceTest extends TestCase
{
$this->assertInstanceOf(Collection::class, $this->userSource->getMemberships());
$this->assertInstanceOf(NameSourceInterface::class, $this->userSource->getNameSource());
$this->expectException(\TypeError::class);
$this->userSource->getUser();
}
}