fixed test import paths
This commit is contained in:
@@ -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<()> {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
#[cfg(test)]
|
||||
mod client;
|
||||
pub(crate) mod client;
|
||||
|
||||
pub mod types;
|
||||
|
||||
Reference in New Issue
Block a user