From 7fdf1771fee8b080867558c36c87ee48bcbc1a0e Mon Sep 17 00:00:00 2001 From: Muhammad Aaqil Date: Sun, 1 Sep 2024 12:40:31 +0500 Subject: [PATCH] test: all tests are passing because of empty model discovery Signed-off-by: Muhammad Aaqil --- test/mysql.discover.test.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/mysql.discover.test.js b/test/mysql.discover.test.js index 9da8060..2df7314 100644 --- a/test/mysql.discover.test.js +++ b/test/mysql.discover.test.js @@ -242,6 +242,11 @@ describe('Discover model generated columns', function() { it('should return an array of columns for STRONGLOOP.TESTGEN and the first is generated', function(done) { db.discoverModelProperties('testgen', function(err, models) { if (err) return done(err); + console.log('[[[[[[[[[[[models]]]]]]]]]]]'); + console.log(models); + console.log(models.length); + console.log('[[[[[[[[[[[models]]]]]]]]]]]'); + models.forEach(function(model) { assert(model.tableName.toLowerCase() === 'testgen'); if (model.columnName === 'ID') {