Skip to content

Commit

Permalink
test: update docker monitor test to match test
Browse files Browse the repository at this point in the history
  • Loading branch information
lili2311 committed Jun 18, 2020
1 parent 197f1ec commit 6652dae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/acceptance/cli-monitor/cli-monitor.acceptance.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1531,8 +1531,7 @@ test('`monitor foo:latest --docker` doesnt send policy from cwd', async (t) => {
'calls docker plugin with expected arguments',
);

const emptyPolicy = await snykPolicy.create();
t.deepEqual(req.body.policy, emptyPolicy.toString(), 'empty policy is sent');
t.deepEqual(req.body.policy, undefined, 'no policy is sent');
});

test('`monitor foo:latest --docker` with custom policy path', async (t) => {
Expand Down

0 comments on commit 6652dae

Please sign in to comment.