예제 #1
0
 /**
  * @covers ::dbGetViewNames
  * @covers ::getTableAndViewNames
  * @covers ::runQuery
  * @covers ::getRowsArray
  */
 public function test_dbGetViewNames()
 {
     // Given
     $this->dbDropAllTables('SCHEMA1');
     $this->dbDropAllViews('SCHEMA1');
     $this->dbLoadFixtures('SCHEMA1', ['test1.sql', 'view.sql']);
     // When
     $viewNames = $this->driver->dbGetViewNames();
     // Then
     $this->assertSame(['my_view'], $viewNames);
 }