Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 authored and OskarStark committed Aug 27, 2020
1 parent 61b9694 commit b421e6a
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tests/Security/Handler/AclSecurityHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,21 +143,6 @@ public function testAddObjectOwnerParamMustBeMutableAclInterface(): void
$handler->addObjectOwner($this->createStub(AclInterface::class));
}

public function testUpdateAclMustOnlyAcceptMutableAclInterface(): void
{
$this->expectWarning();
$this->expectWarningMessage('assert(): assert($acl instanceof MutableAclInterface) failed');
$handler = new AclSecurityHandler(
$this->getTokenStorageMock(),
$this->getAuthorizationCheckerMock(),
$this->getMockForAbstractClass(MutableAclProviderInterface::class),
MaskBuilder::class,
[]
);
$acl = $this->createStub(AclInterface::class);
$handler->updateAcl($acl);
}

public function testSuccerfulUpdateAcl(): void
{
$acl = $this->createStub(MutableAclInterface::class);
Expand Down

0 comments on commit b421e6a

Please sign in to comment.