fixed more unit tests.

Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
This commit is contained in:
Ryan Fletcher
2018-07-14 16:08:47 -04:00
committed by Julius Härtl
parent e0049cf07b
commit e8c53d71aa
2 changed files with 18 additions and 7 deletions

View File

@@ -336,8 +336,8 @@ class CardServiceTest extends TestCase {
->method('find')
->with(123)
->willReturn($assignments);
$actual = $this->cardService->unassignUser(123, 'user');
$this->assertEquals($assignment, $actual);
$this->expectException(NotFoundException::class);
$actual = $this->cardService->unassignUser(123, 'user');
}