Jsor\Doctrine\PostGIS\Event\DBALSchemaEventSubscriberTest::testDiffListTableColumns PHP Method

testDiffListTableColumns() public method

    public function testDiffListTableColumns()
    {
        $offlineTable = $this->createTableSchema();
        $onlineTable = $this->sm->listTableDetails('points');
        $comparator = new \Doctrine\DBAL\Schema\Comparator();
        $diff = $comparator->diffTable($offlineTable, $onlineTable);
        $this->assertFalse($diff, 'No differences should be detected with the offline vs online schema.');
    }