Add rustfmt.toml with tab_spaces = 2 and reformat all source files, tests, and README code examples to use 2-space indentation.
11 lines
287 B
Rust
11 lines
287 B
Rust
use onspring::OnspringClient;
|
|
use wiremock::MockServer;
|
|
|
|
pub async fn setup() -> (MockServer, OnspringClient) {
|
|
let mock_server = MockServer::start().await;
|
|
let client = OnspringClient::builder("test-api-key")
|
|
.base_url(mock_server.uri())
|
|
.build();
|
|
(mock_server, client)
|
|
}
|