Beispiel #1
0
<?php

require_once __DIR__ . '/../TestsHelper.php';
set_include_path(__DIR__ . '/models' . PATH_SEPARATOR . get_include_path());
\Stato\TestEnv::createTestDatabase();
\Stato\Model\Repository::setup('default', \Stato\TestEnv::getDbConfig());
Beispiel #2
0
 public function setup()
 {
     TestEnv::createTestDatabase();
     $this->connection = TestEnv::getDbConnection();
     parent::setup();
 }