Skip to content

Commit

Permalink
Fix flaky endpoints list unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-tavares committed Jun 18, 2020
1 parent 55a7361 commit 4ce2053
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ describe('when on the hosts page', () => {
status: overallStatus,
};
policyResponse.Endpoint.policy.applied.actions.push(downloadModelAction);
} else {
// Else, make sure the status of the generated action matches what was passed in
downloadModelAction.status = overallStatus;
}

if (
Expand Down

0 comments on commit 4ce2053

Please sign in to comment.