Skip to content

Commit

Permalink
yay tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matthauck committed Aug 29, 2024
1 parent bd79a33 commit 1181d9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions octobot/tests/github_handler_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -708,13 +708,13 @@ async fn test_pull_request_comments_ignore_user() {
html_url: "http://the-comment".into(),
user: User::new("ignore-me[bot]"),
});
test.handler.data.sender = User::new("joe-reviewer");
test.handler.data.sender = User::new("ignore-me[bot]");
test.mock_pull_request_commits();

test.slack.expect(vec![]);

let resp = test.handler.handle_event().await.unwrap();
assert_eq!((StatusCode::OK, "pr_review_comment".into()), resp);
assert_eq!((StatusCode::OK, "ignored-user".into()), resp);
}

#[tokio::test]
Expand Down

0 comments on commit 1181d9d

Please sign in to comment.