Phalcon\Test\Unit\Db\Dialect\PostgresqlTest::testDescribeReferences PHP Method

testDescribeReferences() public method

Tests Postgresql::describeReferences
Since: 2016-10-02
Author: Wojciech Ĺšlawski ([email protected])
    public function testDescribeReferences()
    {
        $this->specify('The SQL generated to describe references is incorrect', function ($schema, $expected) {
            $dialect = new Postgresql();
            expect($dialect->describeReferences('table', $schema))->equals($expected);
        }, ['examples' => $this->getDescribeReferences()]);
    }