File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,9 @@ public function _before(TestInterface $test): void
73
73
$ this ->testId = uniqid ();
74
74
$ this ->currentTest = null ;
75
75
$ this ->testHasFailed = false ;
76
- $ this ->sendCommand ('before ' , [
76
+ $ this ->sendCommand (
77
+ 'before ' ,
78
+ [
77
79
'id ' => $ this ->testId ,
78
80
'title ' => $ test ->getMetadata ()->getName (),
79
81
],
@@ -97,11 +99,10 @@ public function _after(TestInterface $test): void
97
99
], 'hook ' );
98
100
99
101
if ($ this ->currentTest ) {
100
-
101
102
$ this ->debugSection ('Test ' , $ this ->currentTest );
102
103
103
104
if (isset ($ this ->currentTest ['artifacts ' ])) {
104
- foreach ($ this ->currentTest ['artifacts ' ] as $ artifact => $ file ) {
105
+ foreach ($ this ->currentTest ['artifacts ' ] as $ artifact => $ file ) {
105
106
$ test ->getMetadata ()->addReport ($ artifact , $ file );
106
107
}
107
108
}
You can’t perform that action at this time.
0 commit comments