PageRenderTime 23ms CodeModel.GetById 17ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/frontend/tests/acceptance/_bootstrap.php

https://bitbucket.org/kanishevv/ofnvrsk
PHP | 16 lines | 1 code | 0 blank | 15 comment | 0 complexity | c53c5bd3d23b4a135dfd1f2b68ca5f6a MD5 | raw file
 1<?php
 2/**
 3 * Here you can initialize variables via \Codeception\Util\Fixtures class
 4 * to store data in global array and use it in Cepts.
 5 *
 6 * ```php
 7 * // Here _bootstrap.php
 8 * \Codeception\Util\Fixtures::add('user1', ['name' => 'davert']);
 9 * ```
10 *
11 * In Cept
12 *
13 * ```php
14 * \Codeception\Util\Fixtures::get('user1');
15 * ```
16 */