Skip to content
Snippets Groups Projects
Verified Commit 7e5bc71d authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Update tests

parent f349f8dc
No related branches found
No related tags found
2 merge requests!7Release v5.0.0,!6EHN: Add new base schema (db_5_0.sql) for installation
Pipeline #13721 passed with warnings
...@@ -1140,62 +1140,6 @@ SELECT tap.has_constraint('_caosdb_schema_unit_tests','isa_cache','PRIMARY',''); ...@@ -1140,62 +1140,6 @@ SELECT tap.has_constraint('_caosdb_schema_unit_tests','isa_cache','PRIMARY','');
SELECT tap.constraint_type_is('_caosdb_schema_unit_tests','isa_cache','PRIMARY','PRIMARY KEY',''); SELECT tap.constraint_type_is('_caosdb_schema_unit_tests','isa_cache','PRIMARY','PRIMARY KEY','');
SELECT tap.col_is_pk('_caosdb_schema_unit_tests','isa_cache','`child`,`parent`,`rpath`',''); SELECT tap.col_is_pk('_caosdb_schema_unit_tests','isa_cache','`child`,`parent`,`rpath`','');
-- ***************************************************************
-- TABLE _caosdb_schema_unit_tests.logging
-- ***************************************************************
SELECT tap.has_table('_caosdb_schema_unit_tests','logging','');
SELECT tap.table_collation_is('_caosdb_schema_unit_tests','logging','utf8_unicode_ci','');
SELECT tap.table_engine_is('_caosdb_schema_unit_tests','logging','InnoDB','');
-- COLUMNS
SELECT tap.columns_are('_caosdb_schema_unit_tests','logging','`level`,`logger`,`message`,`millis`,`logRecord`','');
-- COLUMN logging.level
SELECT tap.has_column('_caosdb_schema_unit_tests','logging','level','');
SELECT tap.col_column_type_is('_caosdb_schema_unit_tests','logging','level','int(11)','');
SELECT tap.col_extra_is('_caosdb_schema_unit_tests','logging','level','','');
SELECT tap.col_default_is('_caosdb_schema_unit_tests','logging','level',NULL,'');
SELECT tap.col_charset_is('_caosdb_schema_unit_tests','logging','level',NULL,'');
SELECT tap.col_collation_is('_caosdb_schema_unit_tests','logging','level',NULL,'');
-- COLUMN logging.logger
SELECT tap.has_column('_caosdb_schema_unit_tests','logging','logger','');
SELECT tap.col_column_type_is('_caosdb_schema_unit_tests','logging','logger','varchar(255)','');
SELECT tap.col_extra_is('_caosdb_schema_unit_tests','logging','logger','','');
SELECT tap.col_default_is('_caosdb_schema_unit_tests','logging','logger',NULL,'');
SELECT tap.col_charset_is('_caosdb_schema_unit_tests','logging','logger','utf8','');
SELECT tap.col_collation_is('_caosdb_schema_unit_tests','logging','logger','utf8_unicode_ci','');
-- COLUMN logging.message
SELECT tap.has_column('_caosdb_schema_unit_tests','logging','message','');
SELECT tap.col_column_type_is('_caosdb_schema_unit_tests','logging','message','mediumtext','');
SELECT tap.col_extra_is('_caosdb_schema_unit_tests','logging','message','','');
SELECT tap.col_default_is('_caosdb_schema_unit_tests','logging','message',NULL,'');
SELECT tap.col_charset_is('_caosdb_schema_unit_tests','logging','message','utf8','');
SELECT tap.col_collation_is('_caosdb_schema_unit_tests','logging','message','utf8_unicode_ci','');
-- COLUMN logging.millis
SELECT tap.has_column('_caosdb_schema_unit_tests','logging','millis','');
SELECT tap.col_column_type_is('_caosdb_schema_unit_tests','logging','millis','bigint(20)','');
SELECT tap.col_extra_is('_caosdb_schema_unit_tests','logging','millis','','');
SELECT tap.col_default_is('_caosdb_schema_unit_tests','logging','millis',NULL,'');
SELECT tap.col_charset_is('_caosdb_schema_unit_tests','logging','millis',NULL,'');
SELECT tap.col_collation_is('_caosdb_schema_unit_tests','logging','millis',NULL,'');
-- COLUMN logging.logRecord
SELECT tap.has_column('_caosdb_schema_unit_tests','logging','logRecord','');
SELECT tap.col_column_type_is('_caosdb_schema_unit_tests','logging','logRecord','blob','');
SELECT tap.col_extra_is('_caosdb_schema_unit_tests','logging','logRecord','','');
SELECT tap.col_default_is('_caosdb_schema_unit_tests','logging','logRecord',NULL,'');
SELECT tap.col_charset_is('_caosdb_schema_unit_tests','logging','logRecord',NULL,'');
SELECT tap.col_collation_is('_caosdb_schema_unit_tests','logging','logRecord',NULL,'');
-- *************************************************************** -- ***************************************************************
-- TABLE _caosdb_schema_unit_tests.name_data -- TABLE _caosdb_schema_unit_tests.name_data
-- *************************************************************** -- ***************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment