nextcloud/tests/lib/DB
Philipp Schaffrath 2ccf544ad7
Fixed failing test which was ignoring a required (not null) column (#26303)
* Fixed failing test which was ignoring a required (not null) column

* restored test to original, catching DriverException which also catches ConstraintViolationException

* catch ConstraintViolationException again

* removed unnecessary field from this test

* clobfield should be nullable

* clobfield now is nullable

* removed autoincrement since whenever this strategy is enabled, oracle would not throw constraint violation exceptions (needed for setValues), which mysql still does

* this field does not auto increment anymore

* mark integerfield as primary, since it is not getting marked as such through auto increment anymore,
integerfield default always has been 0 instead of null

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-17 00:09:07 -06:00
..
QueryBuilder Add tests 2016-11-02 21:10:51 +01:00
schemDiffData Various database migration fixes (#25209) 2016-06-29 14:54:41 +02:00
ConnectionTest.php Fixed failing test which was ignoring a required (not null) column (#26303) 2017-03-17 00:09:07 -06:00
DBSchemaTest.php remove static:// stream wrapper 2017-01-04 15:57:02 +01:00
LegacyDBTest.php remove static:// stream wrapper 2017-01-04 15:57:02 +01:00
MDB2SchemaManagerTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
MDB2SchemaReaderTest.php Fixed failing test which was ignoring a required (not null) column (#26303) 2017-03-17 00:09:07 -06:00
MigratorTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
MySqlMigrationTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
SchemaDiffTest.php remove static:// stream wrapper 2017-01-04 15:57:02 +01:00
SqliteMigrationTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
testschema.xml Fixed failing test which was ignoring a required (not null) column (#26303) 2017-03-17 00:09:07 -06:00
ts-autoincrement-after.xml Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
ts-autoincrement-before.xml Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00