Skip to content

Commit

Permalink
Merge pull request #1144 from novasamatech/fix/connection-pool-test
Browse files Browse the repository at this point in the history
ConnectionPool test fix
  • Loading branch information
svojsu authored Jul 18, 2024
2 parents d1ea1af + da04541 commit 8a483ce
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ class ConnectionPoolTests: XCTestCase {

stub.urls.get.thenReturn(urls)
}

stub(mockConnection.stateReporting) { stub in
stub.state.get.thenReturn(.notConnected(url: nil))
}

return mockConnection
}
Expand Down

0 comments on commit 8a483ce

Please sign in to comment.