Skip to content

Commit

Permalink
meta: fix null test getWhereConditions (#15705)
Browse files Browse the repository at this point in the history
  • Loading branch information
WikiRik committed Feb 23, 2023
1 parent 13f2e89 commit 53bd9b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/sql/get-where-conditions.test.js
Expand Up @@ -21,6 +21,6 @@ describe('QueryGenerator#getWhereConditions', () => {
it('ignores null', () => {
const User = sequelize.define('User');

expect(queryGenerator.getWhereConditions(undefined, User.getTableName(), User)).to.eq('');
expect(queryGenerator.getWhereConditions(null, User.getTableName(), User)).to.eq('');
});
});

0 comments on commit 53bd9b7

Please sign in to comment.