1
0
mirror of synced 2025-01-18 22:41:43 +03:00

rename test

This commit is contained in:
Fabio B. Silva 2012-08-12 22:20:03 -03:00 committed by fabio.silva
parent a01d6583d3
commit 8495eca1a4
2 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ class DefaultEntityListenerResolver implements EntityListenerResolver
public function register($object)
{
if ( ! is_object($object)) {
throw new \InvalidArgumentException(sprintf('An object was expected, but got "%s.', gettype($object)));
throw new \InvalidArgumentException(sprintf('An object was expected, but got "%s".', gettype($object)));
}
$this->instances[get_class($object)] = $object;

View File

@ -9,7 +9,7 @@ require_once __DIR__ . '/../../TestInit.php';
/**
* @group DDC-1955
*/
class ListenerResolverTest extends \Doctrine\Tests\OrmTestCase
class EntityListenerResolverTest extends \Doctrine\Tests\OrmTestCase
{
/**
@ -90,7 +90,7 @@ class ListenerResolverTest extends \Doctrine\Tests\OrmTestCase
/**
* @expectedException InvalidArgumentException
* @expectedExceptionMessage An object was expected, but got "string.
* @expectedExceptionMessage An object was expected, but got "string".
*/
public function testRegisterStringException()
{