()
| 47 | |
| 48 | #[tokio::test] |
| 49 | async fn test_empty_config() { |
| 50 | let state = create_test_state().await; |
| 51 | let wg_config = state.lock().generate_wg_config().unwrap(); |
| 52 | insta::assert_snapshot!(wg_config); |
| 53 | } |
| 54 | |
| 55 | fn policy(restrict: bool, ports: &[u16]) -> PortPolicy { |
| 56 | PortPolicy { |
nothing calls this directly
no test coverage detected