also catch oracle exception message

This commit is contained in:
thrillfall 2021-10-06 19:27:08 +02:00
parent 77571feb40
commit 137e367c2d

View File

@ -51,7 +51,7 @@ class EpisodeActionGuidMigrationTest extends TestCase
public function testCreateSameEpisodeActionTriggersUniqueConstraintViolationException()
{
self::expectExceptionMessageMatches(
"/(duplicate key value violates unique constraint|Integrity constraint violation)/"
"/(unique constraint|Integrity constraint violation)/"
);
$episodeActionEntity = new EpisodeActionEntity();