Skip to content

Commit

Permalink
test: all tests are passing because of empty model discovery
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammad Aaqil <[email protected]>
  • Loading branch information
aaqilniz committed Sep 1, 2024
1 parent b057c20 commit 69fe9bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/mysql.discover.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]]]]]]]]]]]');

Check failure on line 249 in test/mysql.discover.test.js

View workflow job for this annotation

GitHub Actions / Code Lint

Trailing spaces not allowed

Check failure on line 249 in test/mysql.discover.test.js

View workflow job for this annotation

GitHub Actions / build (18)

Trailing spaces not allowed

Check failure on line 249 in test/mysql.discover.test.js

View workflow job for this annotation

GitHub Actions / build (20)

Trailing spaces not allowed
models.forEach(function(model) {
assert(model.tableName.toLowerCase() === 'testgen');
if (model.columnName === 'ID') {
Expand Down

0 comments on commit 69fe9bc

Please sign in to comment.