@@ -12,14 +12,14 @@ discard block |
||
12 | 12 | |
13 | 13 | class DataProvider extends \Codeception\Platform\Extension |
14 | 14 | { |
15 | - // list events to listen to |
|
16 | - public static $events = array( |
|
15 | + // list events to listen to |
|
16 | + public static $events = array( |
|
17 | 17 | //run before any test` |
18 | 18 | 'suite.before' => 'before' |
19 | - ); |
|
19 | + ); |
|
20 | 20 | |
21 | - public function before(\Codeception\Event\SuiteEvent $se) |
|
22 | - { |
|
21 | + public function before(\Codeception\Event\SuiteEvent $se) |
|
22 | + { |
|
23 | 23 | $suite = $se->getSuite(); |
24 | 24 | $tests = $suite->tests(); |
25 | 25 | foreach ($tests as $id => $test) { |
@@ -70,6 +70,6 @@ discard block |
||
70 | 70 | } |
71 | 71 | } |
72 | 72 | $suite->setTests($tests); |
73 | - } |
|
73 | + } |
|
74 | 74 | |
75 | 75 | } |