/** * @expectedException \Dive\Schema\SchemaException */ public function testAddRelationThrowsRelationAlreadyExistsException() { $this->schema->addTableRelation('author', 'user_id', $this->schemaDefinition['relations']['author.user_id']); }
/** * @expectedException \Dive\Schema\SchemaException */ public function testAddRelationThrowsRelationAlreadyExistsException() { $this->schema->addTableRelation('author', 'user_id', $this->schemaDefinition['relations']['author.user_id']); }