[Security] Update tests after a merge
Security component was split into three and test fixture namespaces are different between 2.3 and 2.6 branches.
This commit is contained in:
parent
c2ea763fbe
commit
322f629020
@ -71,7 +71,7 @@ namespace Symfony\Component\Security\Acl\Tests\Domain
|
|||||||
$id = ObjectIdentity::fromDomainObject($domainObject);
|
$id = ObjectIdentity::fromDomainObject($domainObject);
|
||||||
|
|
||||||
$this->assertSame('1', $id->getIdentifier());
|
$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()
|
public function testFromDomainObjectWithoutInterfaceAllowsZeroAsIdentifier()
|
||||||
@ -81,7 +81,7 @@ namespace Symfony\Component\Security\Acl\Tests\Domain
|
|||||||
$id = ObjectIdentity::fromDomainObject($domainObject);
|
$id = ObjectIdentity::fromDomainObject($domainObject);
|
||||||
|
|
||||||
$this->assertSame('0', $id->getIdentifier());
|
$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
Block a user