/** * Testing to ensure that a history table was created automatically. * * @since 1.2.1 * @dataProvider getActiveRecordProviders */ public function testHistoryTableCreated($provider) { $config = ConfigProvider::getInstance(); $config->set('db.provider.name', $provider); $this->person->setMaintainHistory(true); $this->person->rebuildTable(); // this should result in the _history table being created $this->assertTrue($this->person->checkTableExists(true), 'Testing to ensure that a history table was created automatically'); $this->person->dropTable('Person_history'); }