}
public function testInsertIfNotExist() {
+ if (\OC::$server->getConfig()->getSystemValue('dbtype', 'sqlite') === 'oci') {
+ self::markTestSkipped('Insert if not exist does not work with clob on oracle');
+ }
+
$this->makeTestTable();
$categoryEntries = [
['user' => 'test', 'category' => 'Family', 'expectedResult' => 1],
}
public function testInsertIfNotExistNull() {
+ if (\OC::$server->getConfig()->getSystemValue('dbtype', 'sqlite') === 'oci') {
+ self::markTestSkipped('Insert if not exist does not work with clob on oracle');
+ }
+
$this->makeTestTable();
$categoryEntries = [
['addressbookid' => 123, 'fullname' => null, 'expectedResult' => 1],
}
public function testInsertIfNotExistDonTOverwrite() {
+ if (\OC::$server->getConfig()->getSystemValue('dbtype', 'sqlite') === 'oci') {
+ self::markTestSkipped('Insert if not exist does not work with clob on oracle');
+ }
+
$this->makeTestTable();
$fullName = 'fullname test';
$uri = 'uri_1';
}
public function testInsertIfNotExistsViolating() {
+ if (\OC::$server->getConfig()->getSystemValue('dbtype', 'sqlite') === 'oci') {
+ self::markTestSkipped('Insert if not exist does not work with clob on oracle');
+ }
+
$this->makeTestTable();
$result = $this->connection->insertIfNotExist('*PREFIX*table',
[
* @param array $compareKeys
*/
public function testInsertIfNotExistsViolatingUnique($compareKeys) {
+ if (\OC::$server->getConfig()->getSystemValue('dbtype', 'sqlite') === 'oci') {
+ self::markTestSkipped('Insert if not exist does not work with clob on oracle');
+ }
+
$this->makeTestTable();
$result = $this->connection->insertIfNotExist('*PREFIX*table',
[