diff --git a/test/basic-querying.test.js b/test/basic-querying.test.js index 9d9a12efa..cf53f73d1 100644 --- a/test/basic-querying.test.js +++ b/test/basic-querying.test.js @@ -1103,11 +1103,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', function() { diff --git a/test/datatype.test.js b/test/datatype.test.js index 9758b5539..2e3e4b202 100644 --- a/test/datatype.test.js +++ b/test/datatype.test.js @@ -25,7 +25,8 @@ describe('datatypes', function() { nested: Nested, }; 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: { @@ -42,7 +43,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() {