From 608b7baf78b8d0af5f2c1b86b3791ff8f29fd623 Mon Sep 17 00:00:00 2001 From: Muhammad Aaqil Date: Sun, 25 Aug 2024 11:39:37 +0500 Subject: [PATCH] fix tests Signed-off-by: Muhammad Aaqil --- test/migration.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/migration.test.js b/test/migration.test.js index bfacd1597..613c13007 100644 --- a/test/migration.test.js +++ b/test/migration.test.js @@ -38,7 +38,7 @@ describe('migrations', function() { should.exist(result); result[0].Key.should.equal('PRI'); result[0].Type.should.equal('bigint'); - result[2].Key.should.equal('type'); + result[2].Field.should.equal('type'); result[2].Type.should.equal('enum(\'INPATIENT\',\'OUTPATIENT\')'); done(); });