minor #14882 [Security] Update tests after a merge (jakzal)
This PR was merged into the 2.6 branch.
Discussion
----------
[Security] Update tests after a merge
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
Security component was split into three and test fixture namespaces are different between 2.3 and 2.6 branches.
Commits
-------
322f629
[Security] Update tests after a merge
This commit is contained in:
commit
2fa3585d08
|
@ -71,7 +71,7 @@ namespace Symfony\Component\Security\Acl\Tests\Domain
|
|||
$id = ObjectIdentity::fromDomainObject($domainObject);
|
||||
|
||||
$this->assertSame('1', $id->getIdentifier());
|
||||
$this->assertEquals('Symfony\Component\Security\Tests\Acl\Domain\TestDomainObject', $id->getType());
|
||||
$this->assertEquals('Symfony\Component\Security\Acl\Tests\Domain\TestDomainObject', $id->getType());
|
||||
}
|
||||
|
||||
public function testFromDomainObjectWithoutInterfaceAllowsZeroAsIdentifier()
|
||||
|
@ -81,7 +81,7 @@ namespace Symfony\Component\Security\Acl\Tests\Domain
|
|||
$id = ObjectIdentity::fromDomainObject($domainObject);
|
||||
|
||||
$this->assertSame('0', $id->getIdentifier());
|
||||
$this->assertEquals('Symfony\Component\Security\Tests\Acl\Domain\TestDomainObject', $id->getType());
|
||||
$this->assertEquals('Symfony\Component\Security\Acl\Tests\Domain\TestDomainObject', $id->getType());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in New Issue