Constructs a new `Instruments` with default values for testing purposes
()
| 72 | impl Instruments { |
| 73 | /// Constructs a new `Instruments` with default values for testing purposes |
| 74 | pub fn test() -> Self { |
| 75 | Self { |
| 76 | mongodb: Some(MongoDBConfig { |
| 77 | uri_env_name: Some("MONGODB_URI".into()), |
| 78 | }), |
| 79 | } |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | #[cfg(test)] |
nothing calls this directly
no outgoing calls
no test coverage detected