public function doUpdate(PiwikUpdater $updater) { $updater->executeMigrationQueries(__FILE__, $this->getMigrationQueries($updater)); }
public function test_doUpdate_DoesNotError_WhenDimensionsAlreadyInTables() { $this->addDimensionsToTables(); $updater = $this->getMockUpdater(); $this->columnsUpdater->doUpdate($updater); $this->assertDimensionsAddedToTables(); }