diff --git a/http/Cargo.toml b/http/Cargo.toml index 7f73fa0..e2caf1c 100644 --- a/http/Cargo.toml +++ b/http/Cargo.toml @@ -42,7 +42,8 @@ default-features = false features = ["http1", "native-tokio", "logging", "tls12"] [dependencies.gw2lib-model] -version = "1.0.0" +#version = "1.0.0" +path = "../model" [features] blocking = [] diff --git a/http/tests/account.rs b/http/tests/account.rs new file mode 100644 index 0000000..1b9c795 --- /dev/null +++ b/http/tests/account.rs @@ -0,0 +1,12 @@ +#![cfg(feature = "blocking")] + +use gw2lib::Requester; +use gw2lib_model::authenticated::account::Account; + +pub mod setup; + +#[test] +fn eff_testing() { + let client = setup::setup(); + let _: Account = client.get().unwrap(); +} diff --git a/model/src/authenticated/account.rs b/model/src/authenticated/account.rs index b6e5815..977994f 100644 --- a/model/src/authenticated/account.rs +++ b/model/src/authenticated/account.rs @@ -36,7 +36,7 @@ impl Endpoint for Account { const AUTHENTICATED: bool = true; const LOCALE: bool = false; const URL: &'static str = "v2/account"; - const VERSION: &'static str = "2021-01-11T00:00:00.000Z"; + const VERSION: &'static str = "2022-07-22T00:00:00.000Z"; } impl FixedEndpoint for Account {}