mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Fixed all phpstan inspections on tests
This commit is contained in:
@@ -23,7 +23,8 @@ class RoleDefinitionTest extends TestCase
|
||||
/** @test */
|
||||
public function forDomainCreatesRoleDefinitionAsExpected(): void
|
||||
{
|
||||
$domain = Domain::withAuthority('foo.com')->setId('123');
|
||||
$domain = Domain::withAuthority('foo.com');
|
||||
$domain->setId('123');
|
||||
$definition = RoleDefinition::forDomain($domain);
|
||||
|
||||
self::assertEquals(Role::DOMAIN_SPECIFIC, $definition->role);
|
||||
|
||||
Reference in New Issue
Block a user