()
| 474 | } |
| 475 | |
| 476 | func completeWithAgentAndApp() *echo.Responses { |
| 477 | return &echo.Responses{ |
| 478 | Parse: echo.ParseComplete, |
| 479 | ProvisionGraph: []*proto.Response{ |
| 480 | { |
| 481 | Type: &proto.Response_Graph{ |
| 482 | Graph: &proto.GraphComplete{ |
| 483 | Resources: []*proto.Resource{ |
| 484 | { |
| 485 | Type: "compute", |
| 486 | Name: "main", |
| 487 | Agents: []*proto.Agent{ |
| 488 | { |
| 489 | Name: "smith", |
| 490 | OperatingSystem: "linux", |
| 491 | Architecture: "i386", |
| 492 | Apps: []*proto.App{ |
| 493 | { |
| 494 | Slug: "app", |
| 495 | DisplayName: "App", |
| 496 | }, |
| 497 | }, |
| 498 | }, |
| 499 | }, |
| 500 | }, |
| 501 | }, |
| 502 | }, |
| 503 | }, |
| 504 | }, |
| 505 | }, |
| 506 | } |
| 507 | } |
| 508 | |
| 509 | // TestDeprecatedConnEvents tests the deprecated connection and disconnection |
| 510 | // events in the audit logs. These events are no longer created, but need to be |
no outgoing calls
no test coverage detected