fix tests
This commit is contained in:
parent
d1edec2833
commit
8f3774dfc1
@ -304,7 +304,8 @@ mod test {
|
|||||||
skull: true,
|
skull: true,
|
||||||
external: false,
|
external: false,
|
||||||
location_id: Some(1),
|
location_id: Some(1),
|
||||||
owner: None
|
owner: None,
|
||||||
|
default_destination: None
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
.await,
|
.await,
|
||||||
@ -328,7 +329,8 @@ mod test {
|
|||||||
skull: true,
|
skull: true,
|
||||||
external: false,
|
external: false,
|
||||||
location_id: Some(1),
|
location_id: Some(1),
|
||||||
owner: None
|
owner: None,
|
||||||
|
default_destination: None
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
.await,
|
.await,
|
||||||
@ -430,6 +432,7 @@ mod test {
|
|||||||
external: false,
|
external: false,
|
||||||
location_id: 1,
|
location_id: 1,
|
||||||
owner: None,
|
owner: None,
|
||||||
|
default_destination: None,
|
||||||
};
|
};
|
||||||
|
|
||||||
boat.update(&pool, update).await.unwrap();
|
boat.update(&pool, update).await.unwrap();
|
||||||
@ -452,6 +455,7 @@ mod test {
|
|||||||
external: false,
|
external: false,
|
||||||
location_id: 999,
|
location_id: 999,
|
||||||
owner: None,
|
owner: None,
|
||||||
|
default_destination: None,
|
||||||
};
|
};
|
||||||
|
|
||||||
match boat.update(&pool, update).await {
|
match boat.update(&pool, update).await {
|
||||||
|
Loading…
Reference in New Issue
Block a user