1
0
mirror of synced 2024-12-05 03:06:05 +03:00

More consistent test naming

This commit is contained in:
Guido Contreras Woda 2014-12-23 10:20:35 -03:00 committed by Marco Pivetta
parent 51881fed94
commit baeab5d4f4

View File

@ -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');