Jyxo\Beholder\TestCase\PgsqlTest::testAllOk PHP Method

testAllOk() public method

Tests everything working.
public testAllOk ( )
    public function testAllOk()
    {
        $pgsql = $this->getPgsql();
        $test = new Pgsql('Pgsql', 'SELECT 1', $pgsql['database'], $pgsql['host'], $pgsql['user'], $pgsql['password'], $pgsql['port']);
        $result = $test->run();
        $this->assertEquals(\Jyxo\Beholder\Result::SUCCESS, $result->getStatus());
        $this->assertEquals(sprintf('%s@%s:%s/%s', $pgsql['user'], $pgsql['host'], $pgsql['port'], $pgsql['database']), $result->getDescription());
    }