Blame view

frontend/tests/functional/_bootstrap.php 394 Bytes
950817c6   Alex Savenko   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  <?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');
       * ```
       */