From 38f43c147af3542d8ce89f183b60b4691e3e8589 Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Sat, 10 Nov 2018 23:09:04 -0500 Subject: [PATCH] fix exploding unit test --- .../test/spec/workflows/workflow-add.controller-test.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/awx/ui/test/spec/workflows/workflow-add.controller-test.js b/awx/ui/test/spec/workflows/workflow-add.controller-test.js index 9eceb528ce..e7879b5a8b 100644 --- a/awx/ui/test/spec/workflows/workflow-add.controller-test.js +++ b/awx/ui/test/spec/workflows/workflow-add.controller-test.js @@ -142,14 +142,15 @@ describe('Controller: WorkflowAdd', () => { expect(TemplatesService.createWorkflowJobTemplate).toHaveBeenCalledWith({ name: "Test Workflow", description: "This is a test description", - labels: undefined, organization: undefined, + inventory: undefined, + labels: undefined, variables: undefined, - extra_vars: undefined, - allow_simultaneous: undefined + allow_simultaneous: undefined, + ask_inventory_on_launch: false, + extra_vars: undefined }); }); - }); describe('scope.formCancel()', () => {