#[serial_test::serial]
#[tokio::test]
async fn test_create_200_success_all_params() {
let mut client = sideko_rest_api::SidekoClient::default()
.with_api_key_auth("API_KEY")
.with_cookie_auth("API_KEY")
.with_environment(sideko_rest_api::Environment::MockServer);
let res = client
.sdk()
.doc()
.create(sideko_rest_api::resources::sdk::doc::CreateRequest {
modules_filter: Some(vec!["user.admin".to_string()]),
sdk_id: "h1jasdf123".to_string(),
})
.await;
println!("{res:?}");
assert!(res.is_ok());
}