new-support.webeffector.ru/frontend/tests/unit/_bootstrap.php

17 lines
335 B
PHP
Raw Permalink Normal View History

2024-06-13 17:07:58 +03:00
<?php
/**
* Here you can initialize variables via \Codeception\Util\Fixtures class
* to store data in global array and use it in Tests.
*
* ```php
* // Here _bootstrap.php
* \Codeception\Util\Fixtures::add('user1', ['name' => 'davert']);
* ```
*
* In Tests
*
* ```php
* \Codeception\Util\Fixtures::get('user1');
* ```
*/