@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use Codeception\Util\Annotation; |
| 9 | 9 | use Codeception\Step\Comment; |
| 10 | 10 | use Codeception\Test\Cest as CestFormat; |
| 11 | -use ReflectionProperty; |
|
| 12 | 11 | |
| 13 | 12 | class ExampleProvider extends \Codeception\Platform\Extension |
| 14 | 13 | { |
@@ -12,14 +12,14 @@ discard block |
||
| 12 | 12 | |
| 13 | 13 | class ExampleProvider 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 $e) |
|
| 22 | - { |
|
| 21 | + public function before(\Codeception\Event\SuiteEvent $e) |
|
| 22 | + { |
|
| 23 | 23 | $suite = $e->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 | } |