File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/Magento/FunctionalTestingFramework Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 53
53
defined ('WAIT_TIMEOUT ' ) || define ('WAIT_TIMEOUT ' , 30 );
54
54
$ env ->setEnvironmentVariable ('WAIT_TIMEOUT ' , WAIT_TIMEOUT );
55
55
56
- defined ('VERBOSE_ARTIFACTS ' ) || define ('VERBOSE_ARTIFACTS ' , false );
56
+ defined ('VERBOSE_ARTIFACTS ' ) || define ('VERBOSE_ARTIFACTS ' , ' false ' );
57
57
$ env ->setEnvironmentVariable ('VERBOSE_ARTIFACTS ' , VERBOSE_ARTIFACTS );
58
58
59
59
try {
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ private function retrieveStepKey($stepLine)
369
369
private function removeAttachments ($ step , $ testFailed )
370
370
{
371
371
//Remove Attachments if verbose flag is not true AND test did not fail
372
- if (getenv ('VERBOSE_ARTIFACTS ' ) !== true && $ testFailed === null ) {
372
+ if (getenv ('VERBOSE_ARTIFACTS ' ) !== ' true ' && $ testFailed === null ) {
373
373
foreach ($ step ->getAttachments () as $ index => $ attachment ) {
374
374
$ step ->removeAttachment ($ index );
375
375
unlink (Provider::getOutputDirectory () . DIRECTORY_SEPARATOR . $ attachment ->getSource ());
Original file line number Diff line number Diff line change 53
53
defined ('WAIT_TIMEOUT ' ) || define ('WAIT_TIMEOUT ' , 30 );
54
54
$ env ->setEnvironmentVariable ('WAIT_TIMEOUT ' , WAIT_TIMEOUT );
55
55
56
- defined ('VERBOSE_ARTIFACTS ' ) || define ('VERBOSE_ARTIFACTS ' , false );
56
+ defined ('VERBOSE_ARTIFACTS ' ) || define ('VERBOSE_ARTIFACTS ' , ' false ' );
57
57
$ env ->setEnvironmentVariable ('VERBOSE_ARTIFACTS ' , VERBOSE_ARTIFACTS );
58
58
59
59
try {
You can’t perform that action at this time.
0 commit comments