From 69fe9bc4fe0ab1ce550b2f410de731c886b75943 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 9da8060ef..45c3e402d 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') {