fix tests

This commit is contained in:
wh1te909 2020-10-08 02:50:20 +00:00
parent 8068617307
commit e89ed6d7b1
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ class TestWinUpdateViews(TacticalTestCase):
resp = self.client.get(url, format="json")
self.assertEqual(resp.status_code, 200)
mock_task.assert_called_with(
queue="wupdate", kwargs={"pk": agent.pk, "wait": False}
queue="wupdate",
kwargs={"pk": agent.pk, "wait": False, "auto_approve": True},
)
self.check_not_authenticated("get", url)