Fix assertions in ControlLoopService test 62/126862/1
authordanielhanrahan <daniel.hanrahan@est.tech>
Mon, 31 Jan 2022 12:05:36 +0000 (12:05 +0000)
committerDaniel Hanrahan <daniel.hanrahan@est.tech>
Mon, 31 Jan 2022 12:20:19 +0000 (12:20 +0000)
commitc0a3e2fd655ca42dd3291e2b6f0346e4e44ffc87
tree600073b3c23495b4feb01dce708221b806d3e44e
parent9957cf988f2199d9d0ff3838e7f90e70d9cb6ae8
Fix assertions in ControlLoopService test

Fix assertion lines to check response status value.
Wrap responses in beforeEach so async calls are resolved before
assertions.

Issue-ID: POLICY-3351
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: If540831367a7e359739b9675a2800b426b3e7f20
gui-clamp/ui-react/src/api/ControlLoopService.test.js