Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abdolence committed Apr 2, 2024
1 parent e31c9a2 commit c669587
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/fluent_api/tests/mockdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ impl FirestoreQuerySupport for MockDatabase {
unreachable!()
}

async fn stream_query_doc_with_metadata<'b>(
&self,
params: FirestoreQueryParams,
) -> FirestoreResult<BoxStream<'b, FirestoreResult<FirestoreWithMetadata<FirestoreDocument>>>>
{
unreachable!()
}

async fn query_obj<T>(&self, _params: FirestoreQueryParams) -> FirestoreResult<Vec<T>>
where
for<'de> T: Deserialize<'de>,
Expand Down Expand Up @@ -58,6 +66,17 @@ impl FirestoreQuerySupport for MockDatabase {
unreachable!()
}

async fn stream_query_obj_with_metadata<'b, T>(
&self,
params: FirestoreQueryParams,
) -> FirestoreResult<BoxStream<'b, FirestoreResult<FirestoreWithMetadata<T>>>>
where
for<'de> T: Deserialize<'de>,
T: Send + 'b,
{
unreachable!()
}

fn stream_partition_cursors_with_errors(
&self,
params: FirestorePartitionQueryParams,
Expand Down

0 comments on commit c669587

Please sign in to comment.