public function setup() { parent::setUp(); //lets initially connect to the mysql data since that is guaranteed to exist $host = '127.0.0.1'; $username = '******'; $password = ''; $database = $this->database1; $this->databaseConnectionData = new Mysql\ConnectionData($host, $username, $password, $database); $this->databaseConnectionData2 = new Mysql\ConnectionData('localhost', $username, $password, $database); $this->databaseConnection = Mysql\DataSource::getInstance($this->databaseConnectionData); }
public function setUp() { parent::setUp(); $this->modelDirectory = __DIR__ . '/../Model/UnitTest/Model/barrage'; }