Skip to content

Commit

Permalink
Update values in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
msuchane committed May 10, 2024
1 parent 65d6394 commit 1af79cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ async fn check_standard_fields() {
"Set gitlab.com/redhat/centos-stream/tests to public"
);
assert_eq!(issue.fields.assignee.unwrap().display_name, "aoife moloney");
assert_eq!(issue.fields.reporter.display_name, "Don Zickus");
assert_eq!(issue.fields.reporter.display_name, "Donald Zickus");
assert_eq!(issue.fields.issuetype.name, "Task");
assert_eq!(issue.fields.project.key, "CS");
assert_eq!(issue.fields.project.name, "CentOS Stream");
assert_eq!(issue.fields.project.name, "CentOS Stream Pipeline");
assert_eq!(issue.fields.priority.unwrap().name, "Normal");
}

Expand All @@ -87,7 +87,7 @@ async fn check_time() {
#[tokio::test]
async fn search_for_issues() {
let instance = rh_jira();
let query = r#"project="CentOS Stream" AND priority=Blocker"#;
let query = r#"project="CentOS Stream Pipeline" AND priority=Blocker"#;
let issues = instance.search(query).await.unwrap();

// There should be at least a couple of blocker tickets for CentOS Stream.
Expand All @@ -108,7 +108,7 @@ async fn check_no_issues() {
#[tokio::test]
async fn search_for_issues_start_at() {
let instance = rh_jira().paginate(Pagination::ChunkSize(30));
let query = r#"project="CentOS Stream""#;
let query = r#"project="CentOS Stream Pipeline""#;
let issues = instance.search(query).await.unwrap();
// The query should result in at least 1,000 issues.
assert!(issues.len() > 1000);
Expand Down

0 comments on commit 1af79cf

Please sign in to comment.