diff --git a/testing/e2e/api_version/client_api_current.go b/testing/e2e/api_version/client_api_current.go index 682cd787a..6009f6c81 100644 --- a/testing/e2e/api_version/client_api_current.go +++ b/testing/e2e/api_version/client_api_current.go @@ -362,9 +362,12 @@ func (tester *ClientAPITester) TestCheckinWithActionNotFound() { tester.T().Logf("test checkin with no upgrade action: agent %s", agentID) // checkin request with upgrade details req := &api.AgentCheckinJSONRequestBody{ - Status: api.CheckinRequestStatusOnline, - Message: "test checkin", - UpgradeDetails: &api.UpgradeDetailsStateUPGDOWNLOADING, + Status: api.CheckinRequestStatusOnline, + Message: "test checkin", + UpgradeDetails: &api.UpgradeDetails{ + ActionId: "test-missing-id", + State: api.UpgradeDetailsStateUPGDOWNLOADING, + }, } _, _, statusCode := tester.Checkin(ctx, agentKey, agentID, nil, nil, req) tester.Require().Equal(http.StatusOK, statusCode, "Expected status code 200 for successful checkin with action not found")