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(); });