Skip to content

Commit

Permalink
perf: 提供步骤详情与步骤执行结果查询的APIGW接口 TencentBlueKing#2596
Browse files Browse the repository at this point in the history
修复测试用例
  • Loading branch information
jsonwan committed Dec 18, 2023
1 parent d3212a4 commit fdd3ea4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static void tearDown() {
}

@Nested
class GetStepInstanceDetailTest {
class GetStepInstanceStatusTest {
@Test
@DisplayName("测试正常获取脚本步骤状态")
void testGetScriptStepInstanceStatus() {
Expand All @@ -50,7 +50,7 @@ void testGetScriptStepInstanceStatus() {
.body("data.execute_count", equalTo(0))
.body("data.type", equalTo(1))
.body("data.status", notNullValue())
.body("data.step_host_result_list", hasSize(1));
.body("data.step_result_group_list", hasSize(1));
}

@Test
Expand All @@ -73,7 +73,7 @@ void testGetFileStepInstanceStatus() {
.body("data.execute_count", equalTo(0))
.body("data.type", equalTo(2))
.body("data.status", notNullValue())
.body("data.step_host_result_list", hasSize(1));
.body("data.step_result_group_list", hasSize(1));
}

@Test
Expand Down

0 comments on commit fdd3ea4

Please sign in to comment.