()
| 717 | use super::*; |
| 718 | |
| 719 | fn ctx() -> SandboxContext { |
| 720 | SandboxContext { |
| 721 | sandbox_id: "sbx-1".into(), |
| 722 | sandbox_name: "sandbox".into(), |
| 723 | container_image: "img".into(), |
| 724 | hostname: "host".into(), |
| 725 | product_version: "0.0.1".into(), |
| 726 | proxy_ip: "127.0.0.1".parse().unwrap(), |
| 727 | proxy_port: 3128, |
| 728 | } |
| 729 | } |
| 730 | |
| 731 | #[test] |
| 732 | fn gateway_endpoint_parses_https_with_port() { |