Signed-off-by: Edgar Luque <git@edgarluque.com>
This commit is contained in:
Edgar 2022-11-11 10:28:11 +01:00
parent cbb49f8e9d
commit 02bc81a8ef
No known key found for this signature in database
GPG Key ID: 70ADAE8F35904387
2 changed files with 4 additions and 9 deletions

View File

@ -1,11 +1,6 @@
use paypal_rs::{api::orders::*, data::orders::*};
use paypal_rs::{data::common::Currency, Client, PaypalEnv};
use paypal_rs::{AccessToken, HeaderParams};
use wiremock::matchers::{basic_auth, body_string, header, method, path, BodyExactMatcher, HeaderExactMatcher};
use wiremock::{
matchers::{BasicAuthMatcher, BearerTokenMatcher},
Mock, MockServer, ResponseTemplate,
};
use paypal_rs::{Client, PaypalEnv};
use wiremock::matchers::{basic_auth, body_string, header, method, path};
use wiremock::{Mock, MockServer, ResponseTemplate};
fn create_client(url: &str) -> Client {
Client::new(

View File

@ -88,7 +88,7 @@ async fn test_create_order() -> color_eyre::Result<()> {
)
.build()?;
let create_order = CreateOrder::new(order);
let _create_order = CreateOrder::new(order);
Ok(())
}