public function testUpdateConnectorNotExists() { $this->setExpectedException('PDOException', '', 23000); $newInformation = array('connector_id' => 42); Command::update(2, $newInformation); }
/** * Used for inserting relation into database * * @param int $fkey * @param int $skey * @return void */ public static function insert($fkey, $skey = null) { ExternalCommand::update($skey, array('connector_id' => $fkey)); }