16 lines
334 B
PHP
16 lines
334 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Here you can initialize variables via \Codeception\Util\Fixtures class
|
||
|
* to store data in global array and use it in Cests.
|
||
|
*
|
||
|
* ```php
|
||
|
* // Here _bootstrap.php
|
||
|
* \Codeception\Util\Fixtures::add('user1', ['name' => 'davert']);
|
||
|
* ```
|
||
|
*
|
||
|
* In Cests
|
||
|
*
|
||
|
* ```php
|
||
|
* \Codeception\Util\Fixtures::get('user1');
|
||
|
* ```
|
||
|
*/
|