Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Edgar Luque <[email protected]>
  • Loading branch information
edg-l committed Nov 11, 2022
1 parent cbb49f8 commit 02bc81a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
11 changes: 3 additions & 8 deletions tests/auth_tests.rs
Original file line number Diff line number Diff line change
@@ -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(
Expand Down
2 changes: 1 addition & 1 deletion tests/orders_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}
Expand Down

0 comments on commit 02bc81a

Please sign in to comment.