#6136 Removed regex assertion - constant assertion is sufficient
This commit is contained in:
parent
e37041aa94
commit
d2643eeb8b
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user