Skip to content

Commit

Permalink
chore: removed failure mode
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Jones <[email protected]>
  • Loading branch information
AlexsJones committed Nov 17, 2023
1 parent 80fb550 commit 72b6e80
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 35 deletions.
9 changes: 0 additions & 9 deletions src/analyzer/ebs_analyzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,3 @@ impl analyzer_trait::Analyzer for EbsAnalyzer {
"ebs".to_string()
}
}

#[tokio::test]
async fn get_name_test() {
let config = utils::load_config().await;
let ebs_analyzer = EbsAnalyzer {
config: config
};
assert_eq!(ebs_analyzer.get_name(), "ebs".to_string());
}
8 changes: 0 additions & 8 deletions src/analyzer/rds_analyzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,3 @@ impl analyzer_trait::Analyzer for RDSAnalyzer {
"rds".to_string()
}
}
#[tokio::test]
async fn get_name_test() {
let config = utils::load_config().await;
let rds_analyzer = RDSAnalyzer {
config: config
};
assert_eq!(rds_analyzer.get_name(), "rds".to_string());
}
9 changes: 0 additions & 9 deletions src/analyzer/s3_analyzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,3 @@ impl analyzer_trait::Analyzer for S3Analyzer {
}
}

#[tokio::test]
async fn get_name_test() {
let config = utils::load_config().await;

let s3_analyzer = S3Analyzer {
config: config
};
assert_eq!(s3_analyzer.get_name(), "s3".to_string());
}
9 changes: 0 additions & 9 deletions src/analyzer/sts_analyzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,3 @@ impl analyzer_trait::Analyzer for STSAnalyzer {
"sts".to_string()
}
}

#[tokio::test]
async fn get_name_test() {
let config = utils::load_config().await;
let sts_analyzer = STSAnalyzer {
config: config
};
assert_eq!(sts_analyzer.get_name(), "sts".to_string());
}

0 comments on commit 72b6e80

Please sign in to comment.