Disable securityhub integ test
ListInvitations now returns a 400 if you don't have any of that
resource.
@@ -8,6 +8,7 @@ use rusoto_core::Region;
use rusoto_securityhub::{ListInvitationsRequest, SecurityHub, SecurityHubClient};
#[tokio::test]
+#[ignore]
async fn should_list_invitations() {
let _ = env_logger::try_init();
let client = SecurityHubClient::new(Region::UsWest2);
@@ -15,6 +16,5 @@ async fn should_list_invitations() {
..Default::default()
};
- let result = client.list_invitations(request).await;
- assert!(result.is_ok());
+ client.list_invitations(request).await.unwrap();
}
