test: all tests are passing because of empty model discovery

Signed-off-by: Muhammad Aaqil <aaqilcs102@gmail.com>
This commit is contained in:
Muhammad Aaqil 2024-09-01 12:40:31 +05:00
parent b057c20fe2
commit 7fdf1771fe
1 changed files with 5 additions and 0 deletions

View File

@ -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') {