Skip to content

Commit

Permalink
Slight tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Aug 18, 2023
1 parent 08c3441 commit cca65b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/executor/select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1404,9 +1404,9 @@ mod tests {
let db = MockDatabase::new(DbBackend::Postgres)
.append_query_results([[
cake_fruit_model(1, 1).into_mock_row(),
cake_fruit_model(2, 1).into_mock_row(),
cake_fruit_model(2, 2).into_mock_row(),
cake_fruit_model(2, 3).into_mock_row(),
cake_fruit_model(2, 4).into_mock_row(),
]])
.into_connection();

Expand All @@ -1417,9 +1417,9 @@ mod tests {
(
cake_model(2),
vec![
fruit_model(1, Some(2)),
fruit_model(2, Some(2)),
fruit_model(3, Some(2)),
fruit_model(4, Some(2)),
]
),
]
Expand All @@ -1436,9 +1436,9 @@ mod tests {
let db = MockDatabase::new(DbBackend::Postgres)
.append_query_results([[
cake_fruit_model(1, 1).into_mock_row(),
cake_fruit_model(2, 1).into_mock_row(),
cake_fruit_model(2, 2).into_mock_row(),
cake_fruit_model(2, 3).into_mock_row(),
cake_fruit_model(2, 4).into_mock_row(),
(cake_model(3), None::<fruit::Model>).into_mock_row(),
]])
.into_connection();
Expand All @@ -1450,9 +1450,9 @@ mod tests {
(
cake_model(2),
vec![
fruit_model(1, Some(2)),
fruit_model(2, Some(2)),
fruit_model(3, Some(2)),
fruit_model(4, Some(2)),
]
),
(cake_model(3), vec![])
Expand Down

0 comments on commit cca65b7

Please sign in to comment.