From baeab5d4f41a4c5ce882709b0ab12985aab8b90b Mon Sep 17 00:00:00 2001 From: Guido Contreras Woda Date: Tue, 23 Dec 2014 10:20:35 -0300 Subject: [PATCH] More consistent test naming --- .../Tests/ORM/Mapping/ClassMetadataBuilderTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Doctrine/Tests/ORM/Mapping/ClassMetadataBuilderTest.php b/tests/Doctrine/Tests/ORM/Mapping/ClassMetadataBuilderTest.php index a3ce514bb..e05382202 100644 --- a/tests/Doctrine/Tests/ORM/Mapping/ClassMetadataBuilderTest.php +++ b/tests/Doctrine/Tests/ORM/Mapping/ClassMetadataBuilderTest.php @@ -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');