fixed test import paths

This commit is contained in:
Jędrzej Stuczyński
2024-05-10 09:31:26 +01:00
parent 633e7ffb46
commit b46634b8f7
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ pub struct SerialisedNymIssuedBandwidthVoucher {
#[cfg(test)]
mod tests {
use super::*;
use crate::vpn_api_client::{new_client, NymVpnApiClient};
use crate::vpn_api_client::client::{new_client, NymVpnApiClient};
#[tokio::test]
async fn end_to_end() -> anyhow::Result<()> {
+1 -1
View File
@@ -82,7 +82,7 @@ pub trait NymVpnApiClient {
}
#[async_trait(?Send)]
impl crate::vpn_api_client::NymVpnApiClient for VpnApiClient {
impl NymVpnApiClient for VpnApiClient {
async fn simple_get<T>(&self, path: PathSegments<'_>) -> Result<T, NymVpnApiClientError>
where
T: DeserializeOwned,
+1 -1
View File
@@ -2,6 +2,6 @@
// SPDX-License-Identifier: Apache-2.0
#[cfg(test)]
mod client;
pub(crate) mod client;
pub mod types;