We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0fcccb commit fd5aed7Copy full SHA for fd5aed7
1 file changed
src/projects/create.rs
@@ -177,13 +177,16 @@ mod tests {
177
create_behavior,
178
});
179
let server = MockServer::start(state).await;
180
+ let login = LoginState::new();
181
+ login.set(
182
+ "test-key".to_string(),
183
+ "org-1".to_string(),
184
+ "test-org".to_string(),
185
+ server.base_url.clone(),
186
+ "https://app.example.com".to_string(),
187
+ );
188
let client = ApiClient::new(&LoginContext {
- login: LoginState {
- api_key: "test-key".to_string(),
- org_id: "org-1".to_string(),
- org_name: "test-org".to_string(),
- api_url: Some(server.base_url.clone()),
- },
189
+ login,
190
api_url: server.base_url.clone(),
191
app_url: "https://app.example.com".to_string(),
192
})
0 commit comments