Skip to content

Commit

Permalink
build(deps): bump mockito from 1.3.0 to 1.4.0 (#1567)
Browse files Browse the repository at this point in the history
* build(deps): bump mockito from 1.3.0 to 1.3.1

Bumps [mockito](https://github.com/lipanski/mockito) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/lipanski/mockito/releases)
- [Commits](lipanski/mockito@1.3.0...1.3.1)

---
updated-dependencies:
- dependency-name: mockito
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix: breaking change in mockito async

* bump mockito to 1.4

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Byron Hambly <[email protected]>
  • Loading branch information
dependabot[bot] and delta1 authored Jun 19, 2024
1 parent 1d5df54 commit 4d557d1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion swap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ bitcoin-harness = { git = "https://github.com/delta1/bitcoin-harness-rs.git", re
get-port = "3"
hyper = "1.3"
jsonrpsee = { version = "0.16.2", features = [ "ws-client" ] }
mockito = "1.3.0"
mockito = "1.4"
monero-harness = { path = "../monero-harness" }
port_check = "0.2"
proptest = "1"
Expand Down
6 changes: 3 additions & 3 deletions swap/src/monero/wallet_rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ mod tests {

#[tokio::test]
async fn test_is_daemon_available_success() {
let mut server = mockito::Server::new();
let mut server = mockito::Server::new_async().await;

let _ = server
.mock("GET", "/get_info")
Expand Down Expand Up @@ -511,7 +511,7 @@ mod tests {

#[tokio::test]
async fn test_is_daemon_available_wrong_network_failure() {
let mut server = mockito::Server::new();
let mut server = mockito::Server::new_async().await;

let _ = server
.mock("GET", "/get_info")
Expand Down Expand Up @@ -542,7 +542,7 @@ mod tests {

#[tokio::test]
async fn test_is_daemon_available_not_synced_failure() {
let mut server = mockito::Server::new();
let mut server = mockito::Server::new_async().await;

let _ = server
.mock("GET", "/get_info")
Expand Down

0 comments on commit 4d557d1

Please sign in to comment.