#6136 Removed regex assertion - constant assertion is sufficient
This commit is contained in:
parent
e37041aa94
commit
d2643eeb8b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue