Skip to content

Commit e72d7b8

Browse files
authored
Use more lax assertion when checking exception message (#1712)
1 parent 85ab922 commit e72d7b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/SpecTests/ClientSideEncryptionSpecTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ public function testViewsAreProhibited(): void
612612
$previous = $e->getPrevious();
613613

614614
$this->assertInstanceOf(EncryptionException::class, $previous);
615-
$this->assertSame('cannot auto encrypt a view', $previous->getMessage());
615+
$this->assertStringContainsString('cannot auto encrypt a view', $previous->getMessage());
616616
}
617617
}
618618

0 commit comments

Comments
 (0)