()
| 299 | |
| 300 | #[tokio::test] |
| 301 | async fn age_ascending_first() { |
| 302 | let mut database = DatabaseTestWrapper::new().await; |
| 303 | let api = insert(&mut database).await; |
| 304 | |
| 305 | test_root_sorting_chunked( |
| 306 | &api, |
| 307 | [ |
| 308 | ( |
| 309 | age_property_path(), |
| 310 | Ordering::Ascending, |
| 311 | NullOrdering::First, |
| 312 | ), |
| 313 | ( |
| 314 | EntityQueryPath::Uuid, |
| 315 | Ordering::Ascending, |
| 316 | NullOrdering::Last, |
| 317 | ), |
| 318 | ], |
| 319 | [alice(), page_v1(), page_v2(), bob(), charles()], |
| 320 | ) |
| 321 | .await; |
| 322 | } |
| 323 | |
| 324 | #[tokio::test] |
| 325 | async fn age_descending_last() { |
nothing calls this directly
no test coverage detected