8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d754d1 commit afb948bCopy full SHA for afb948b
src/Codeception/Test/Descriptor.php
@@ -49,7 +49,7 @@ public static function getTestSignatureUnique(SelfDescribing $testCase): string
49
method_exists($testCase, 'getMetaData')
50
&& !empty($testCase->getMetadata()->getCurrent('example'))
51
) {
52
- $currentExample = json_encode($testCase->getMetadata()->getCurrent('example'), JSON_THROW_ON_ERROR);
+ $currentExample = json_encode($testCase->getMetadata()->getCurrent('example'), JSON_THROW_ON_ERROR | JSON_INVALID_UTF8_SUBSTITUTE);
53
$example = ':' . substr(sha1($currentExample), 0, 7);
54
}
55
0 commit comments