private function configureClubConfigStubs() { $this->databaseHelper->hasTable('clubs')->willReturn(true); $this->databaseHelper->getColumnListing('clubs')->willReturn(['id']); $this->databaseHelper->getColumnType('clubs', 'id')->willReturn('integer'); }
/** * @Given /^there is a pivot table "([^"]*)"$/ */ public function thereIsAPivotTable($tableName) { $this->databaseHelper->shouldReceive('hasTable', $tableName)->andReturn(true); }