Skip to content

Commit b0d4dc4

Browse files
committed
Auto merge of #3072 - Turbo87:bg-jobs, r=JohnTitor
tests/util: Remove unused `BackgroundJob` struct This struct does not appear to be used anywhere (anymore). r? `@JohnTitor`
2 parents 275dc51 + 823c81c commit b0d4dc4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/tests/util.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,6 @@ struct TestAppInner {
5555
runner: Option<Runner<Environment, DieselPool>>,
5656
}
5757

58-
use swirl::schema::background_jobs;
59-
// FIXME: This is copied from swirl::storage, because it is private
60-
#[derive(Queryable, Identifiable, Debug, Clone)]
61-
struct BackgroundJob {
62-
pub id: i64,
63-
pub job_type: String,
64-
pub data: serde_json::Value,
65-
}
66-
6758
impl Drop for TestAppInner {
6859
fn drop(&mut self) {
6960
use diesel::prelude::*;

0 commit comments

Comments
 (0)