upgraded to phpunit 8 (#1155)
This commit is contained in:
@@ -36,11 +36,10 @@ class UserPreferenceEventTest extends TestCase
|
||||
$this->assertEquals([$pref], $sut->getPreferences());
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException \InvalidArgumentException
|
||||
*/
|
||||
public function testDuplicatePreferenceThrowsException()
|
||||
{
|
||||
$this->expectException(\InvalidArgumentException::class);
|
||||
|
||||
$user = new User();
|
||||
$user->setAlias('foo');
|
||||
$pref = new UserPreference();
|
||||
|
||||
Reference in New Issue
Block a user