diff --git a/test/basic-querying.test.js b/test/basic-querying.test.js index 0beed1027..b9e32b6fc 100644 --- a/test/basic-querying.test.js +++ b/test/basic-querying.test.js @@ -1063,11 +1063,12 @@ describe('basic-querying', function() { dateProp: Date, numProp: Number, }); - numAndDateArrayModel = db.define('numAndDateArrayModel', { + // 'numAndDateArrayModel' is too long an identifier name for Oracle DB + numAndDateArrayModel = db.define('numAndDateArrMod', { dateArray: [Date], numArray: [Number], }); - return db.automigrate(['numAndDateModel', 'numAndDateArrayModel']); + return db.automigrate(['numAndDateModel', 'numAndDateArrMod']); }); it('coerces primitive datatypes on update', async () => { diff --git a/test/datatype.test.js b/test/datatype.test.js index ef16d54c1..3c88341fd 100644 --- a/test/datatype.test.js +++ b/test/datatype.test.js @@ -32,7 +32,8 @@ describe('datatypes', function() { nestedClass: NestedClass, }; Model = db.define('Model', modelTableSchema); - modelWithDecimalArray = db.define('modelWithDecimalArray', { + // 'modelWithDecimalArray' is too long an identifier name for Oracle DB + modelWithDecimalArray = db.define('modelWithDecArr', { randomReview: { type: [String], mongodb: { @@ -49,7 +50,7 @@ describe('datatypes', function() { numArrayModel = db.define('numArrayModel', { bunchOfNums: [Number], }); - db.automigrate(['Model', 'modelWithDecimalArray', 'dateArrayModel', 'numArrayModel'], done); + db.automigrate(['Model', 'modelWithDecArr', 'dateArrayModel', 'numArrayModel'], done); }); it('should resolve top-level "type" property correctly', function() {