%PDF- %PDF-
| Direktori : /home/vacivi36/intranet.vacivitta.com.br/protected/humhub/tests/codeception/_support/ |
| Current File : /home/vacivi36/intranet.vacivitta.com.br/protected/humhub/tests/codeception/_support/TestHelper.php |
<?php
namespace tests\codeception\_support;
use Codeception\Module;
/**
* This helper is used to populate the database with needed fixtures before any tests are run.
* In this example, the database is populated with the demo login user, which is used in acceptance
* and functional tests. All fixtures will be loaded before the suite is started and unloaded after it
* completes.
*/
class TestHelper extends Module
{
/**
* Method called before any suite tests run. Loads User fixture login user
* to use in acceptance and functional tests.
* @param array $settings
*/
public function _beforeSuite($settings = [])
{
include __DIR__.'/../functional/_bootstrap.php';
}
}