Skip to content

Commit

Permalink
#987: fix test to only find ONE query
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld committed Jun 29, 2023
1 parent ebe0b1c commit da912a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/type.query.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ describe('type: query', () => {
return;
});
it('Should start a query selected via --like', async () => {
handler.setOptions({ like: { key: 'testExisting%' } });
handler.setOptions({ like: { key: 'testExist%query' } });
const execute = await handler.execute('testInstance/testBU', 'query');
assert.equal(process.exitCode, false, 'execute should not have thrown an error');
assert.equal(execute, true, 'query was supposed to be executed');
Expand Down

0 comments on commit da912a9

Please sign in to comment.