Added tests for query and access endpoints #72
Annotations
10 warnings
clippy --all-targets --all-features:
src/api/../tests/api/ecdar_api.rs#L3
warning: unused import: `crate::api::ecdar_api::handle_session`
--> src/api/../tests/api/ecdar_api.rs:3:9
|
3 | use crate::api::ecdar_api::handle_session;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
clippy --all-targets --all-features:
src/api/../tests/api/ecdar_api.rs#L4
warning: unused import: `crate::api::server::server::ecdar_api_auth_server::EcdarApiAuth`
--> src/api/../tests/api/ecdar_api.rs:4:9
|
4 | use crate::api::server::server::ecdar_api_auth_server::EcdarApiAuth;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
clippy --all-targets --all-features:
src/api/../tests/api/ecdar_api.rs#L5
warning: unused import: `crate::api::server::server::get_auth_token_request::user_credentials`
--> src/api/../tests/api/ecdar_api.rs:5:9
|
5 | use crate::api::server::server::get_auth_token_request::user_credentials;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
clippy --all-targets --all-features:
src/api/../tests/api/ecdar_api.rs#L6
warning: unused import: `crate::api::server::server::get_auth_token_request::UserCredentials`
--> src/api/../tests/api/ecdar_api.rs:6:9
|
6 | use crate::api::server::server::get_auth_token_request::UserCredentials;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
clippy --all-targets --all-features:
src/api/../tests/api/ecdar_api.rs#L7
warning: unused imports: `CreateUserRequest`, `GetAuthTokenRequest`, `UpdateUserRequest`
--> src/api/../tests/api/ecdar_api.rs:7:38
|
7 | use crate::api::server::server::{CreateUserRequest, GetAuthTokenRequest, UpdateUserRequest};
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^
|
clippy --all-targets --all-features:
src/api/../tests/api/ecdar_api.rs#L9
warning: unused imports: `entities::session::Model as Session`, `entities::user::Model as User`
--> src/api/../tests/api/ecdar_api.rs:9:58
|
9 | api::server::server::ecdar_api_server::EcdarApi, entities::session::Model as Session,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10 | entities::user::Model as User,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
clippy --all-targets --all-features:
src/api/../tests/api/ecdar_api.rs#L12
warning: unused import: `async_trait::async_trait`
--> src/api/../tests/api/ecdar_api.rs:12:9
|
12 | use async_trait::async_trait;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
clippy --all-targets --all-features:
src/api/../tests/api/ecdar_api.rs#L18
warning: unused import: `crate::database::database_context::DatabaseContextTrait`
--> src/api/../tests/api/ecdar_api.rs:18:9
|
18 | use crate::database::database_context::DatabaseContextTrait;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
clippy --all-targets --all-features:
src/api/../tests/api/ecdar_api.rs#L19
warning: unused import: `crate::database::entity_context::EntityContextTrait`
--> src/api/../tests/api/ecdar_api.rs:19:9
|
19 | use crate::database::entity_context::EntityContextTrait;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
clippy --all-targets --all-features:
src/api/../tests/api/ecdar_api.rs#L20
warning: unused imports: `UserContextTrait`, `UserContext`
--> src/api/../tests/api/ecdar_api.rs:20:41
|
20 | use crate::database::user_context::{UserContext, UserContextTrait};
| ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
|
The logs for this run have expired and are no longer available.
Loading