Pheasant\Tests\ConnectionTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $dsn = getenv('PHEASANT_TEST_DSN') ?: 'mysql://root@localhost/pheasanttest?charset=utf8';
        $this->dsn = new Dsn($dsn);
        $this->conn = new Mysqli\Connection($this->dsn);
    }