cleanup
Signed-off-by: Edgar Luque <git@edgarluque.com>
This commit is contained in:
parent
cbb49f8e9d
commit
02bc81a8ef
|
@ -1,11 +1,6 @@
|
||||||
use paypal_rs::{api::orders::*, data::orders::*};
|
use paypal_rs::{Client, PaypalEnv};
|
||||||
use paypal_rs::{data::common::Currency, Client, PaypalEnv};
|
use wiremock::matchers::{basic_auth, body_string, header, method, path};
|
||||||
use paypal_rs::{AccessToken, HeaderParams};
|
use wiremock::{Mock, MockServer, ResponseTemplate};
|
||||||
use wiremock::matchers::{basic_auth, body_string, header, method, path, BodyExactMatcher, HeaderExactMatcher};
|
|
||||||
use wiremock::{
|
|
||||||
matchers::{BasicAuthMatcher, BearerTokenMatcher},
|
|
||||||
Mock, MockServer, ResponseTemplate,
|
|
||||||
};
|
|
||||||
|
|
||||||
fn create_client(url: &str) -> Client {
|
fn create_client(url: &str) -> Client {
|
||||||
Client::new(
|
Client::new(
|
||||||
|
|
|
@ -88,7 +88,7 @@ async fn test_create_order() -> color_eyre::Result<()> {
|
||||||
)
|
)
|
||||||
.build()?;
|
.build()?;
|
||||||
|
|
||||||
let create_order = CreateOrder::new(order);
|
let _create_order = CreateOrder::new(order);
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue