Skip to content

Commit

Permalink
Temporarily remove DB assignment tests
Browse files Browse the repository at this point in the history
Assignment based on review preferences is not working currently.
  • Loading branch information
Kobzol committed Feb 21, 2025
1 parent d66b853 commit d64caa6
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 38 deletions.
1 change: 0 additions & 1 deletion src/handlers/assign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ use tracing as log;
#[cfg(test)]
mod tests {
mod tests_candidates;
mod tests_db;
mod tests_from_diff;
}

Expand Down
34 changes: 0 additions & 34 deletions src/handlers/assign/tests/tests_db.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/handlers/pr_tracking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//! - Removes the PR from the workqueue of one team member (after the PR has been unassigned or closed)
use crate::github::{User, UserId};
use crate::handlers::assign::FindReviewerError;
use crate::{
config::ReviewPrefsConfig,
github::{IssuesAction, IssuesEvent},
Expand Down
4 changes: 2 additions & 2 deletions src/handlers/pull_requests_assignment_update.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::db::users::record_username;
use crate::github::retrieve_pull_requests;
use crate::github::{retrieve_open_pull_requests, UserId};
use crate::handlers::pr_tracking::{PullRequestNumber, ReviewerWorkqueue};
use crate::jobs::Job;
use async_trait::async_trait;
use std::collections::{HashMap, HashSet};
Expand Down

0 comments on commit d64caa6

Please sign in to comment.