also catch oracle exception message
This commit is contained in:
parent
77571feb40
commit
137e367c2d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user