Skip to content

Commit bb0ef88

Browse files
committed
finish main check list test update and add info log
1 parent eb211ba commit bb0ef88

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/main.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ impl concourse_resource::Resource for GithubIssue {
9191
_ = env_logger::try_init();
9292

9393
log::info!("reminder: the in step is only to be used for an efficient check step with minimal overhead");
94+
log::info!("there is no actual functionality for the in step, and the version and metadata are dummied");
9495
Ok(concourse_resource::InOutput {
9596
version: concourse::Version::new(String::from("open")),
9697
metadata: None,
@@ -219,7 +220,8 @@ mod tests {
219220
"owner": "mitodl",
220221
"repo": "ol-infrastructure",
221222
"assignee": "pdpinch",
222-
"milestone": 3
223+
"milestone": 3,
224+
"state": "closed"
223225
}"#;
224226
let version_input = r#"
225227
{
@@ -239,8 +241,8 @@ mod tests {
239241
// the issue is open so we expect a size one vec
240242
assert_eq!(
241243
version_vec,
242-
vec![concourse::Version::new(String::from("open"))],
243-
"the resource_check did not return a one size vector of issue states for an open issue",
244+
vec![concourse::Version::new(String::from("open")), concourse::Version::new(String::from("closed"))],
245+
"the resource_check did not return a one size vector of issue states for a closed issue",
244246
);
245247
}
246248

0 commit comments

Comments
 (0)