Skip to content

Commit

Permalink
Adjust sfn test_default
Browse files Browse the repository at this point in the history
  • Loading branch information
riseshia committed Nov 27, 2024
1 parent 5cb660b commit 3ab1422
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/commands/import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ mod test {
))
.return_once(|_| {
Ok(ListTagsForResourceOutputBuilder::default()
.tags(TagBuilder::default().key("Env").value("Test").build())
.tags(
TagBuilder::default()
.key("Name")
Expand Down Expand Up @@ -268,6 +269,7 @@ mod test {
))
.return_once(|_| {
Ok(ListTagsForResourceOutputBuilder::default()
.tags(TagBuilder::default().key("Env").value("Test").build())
.tags(
TagBuilder::default()
.key("Name")
Expand Down
1 change: 1 addition & 0 deletions src/differ.rs
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,7 @@ mod test {
))
.return_once(|_| {
Ok(ListTagsForResourceOutputBuilder::default()
.tags(TagBuilder::default().key("Env").value("Test").build())
.tags(
TagBuilder::default()
.key("Name")
Expand Down
14 changes: 10 additions & 4 deletions src/types/state_machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,16 @@ impl StateMachine {
}],
}),
tracing_configuration: None,
tags: vec![ResourceTag {
key: "Name".to_string(),
value: "HelloWorld".to_string(),
}],
tags: vec![
ResourceTag {
key: "Env".to_string(),
value: "Test".to_string(),
},
ResourceTag {
key: "Name".to_string(),
value: "HelloWorld".to_string(),
},
],
}
}
}
Expand Down

0 comments on commit 3ab1422

Please sign in to comment.