1
0
mirror of synced 2025-02-02 21:41:45 +03:00

#6136 Removed regex assertion - constant assertion is sufficient

This commit is contained in:
Marco Pivetta 2016-11-18 09:19:27 +01:00
parent e37041aa94
commit d2643eeb8b

View File

@ -211,7 +211,7 @@ class EntityManagerTest extends OrmTestCase
public function testCreateInvalidConnection()
{
$this->expectException(\InvalidArgumentException::class);
$this->expectExceptionMessageRegExp('/^Invalid \$connection argument of type integer given: \"1\".$/');
$this->expectExceptionMessage('Invalid $connection argument of type integer given: "1".');
$config = new Configuration();
$config->setMetadataDriverImpl($this->createMock(MappingDriver::class));