More consistent test naming
This commit is contained in:
parent
51881fed94
commit
baeab5d4f4
@ -332,7 +332,7 @@ class ClassMetadataBuilderTest extends \Doctrine\Tests\OrmTestCase
|
||||
), $this->cm->associationMappings);
|
||||
}
|
||||
|
||||
public function testIdentityOnCreateManyToOne()
|
||||
public function testCreateManyToOneWithIdentity()
|
||||
{
|
||||
$this->assertIsFluent(
|
||||
$this->builder->createManyToOne('groups', 'Doctrine\Tests\Models\CMS\CmsGroup')
|
||||
@ -513,7 +513,7 @@ class ClassMetadataBuilderTest extends \Doctrine\Tests\OrmTestCase
|
||||
), $this->cm->associationMappings);
|
||||
}
|
||||
|
||||
public function testDisallowCreateOneToOneWithIdentityOnInverseSide()
|
||||
public function testThrowsExceptionOnCreateOneToOneWithIdentityOnInverseSide()
|
||||
{
|
||||
$this->setExpectedException('Doctrine\ORM\Mapping\MappingException');
|
||||
|
||||
@ -607,7 +607,7 @@ class ClassMetadataBuilderTest extends \Doctrine\Tests\OrmTestCase
|
||||
), $this->cm->associationMappings);
|
||||
}
|
||||
|
||||
public function testDisallowIdentityOnCreateManyToMany()
|
||||
public function testThrowsExceptionOnCreateManyToManyWithIdentity()
|
||||
{
|
||||
$this->setExpectedException('Doctrine\ORM\Mapping\MappingException');
|
||||
|
||||
@ -660,7 +660,7 @@ class ClassMetadataBuilderTest extends \Doctrine\Tests\OrmTestCase
|
||||
), $this->cm->associationMappings);
|
||||
}
|
||||
|
||||
public function testDisallowIdentityOnCreateOneToMany()
|
||||
public function testThrowsExceptionOnCreateOneToManyWithIdentity()
|
||||
{
|
||||
$this->setExpectedException('Doctrine\ORM\Mapping\MappingException');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user