Fix tests

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/4/head
trivernis 3 years ago
parent ed28bc68c8
commit 0e1538bdd3

@ -1,6 +1,6 @@
use crate::types::files::GetFileThumbnailOfSizeRequest;
use crate::types::filtering::{
FilterExpression, SortDirection, SortKey, TagQuery, ValueComparator,
FilterExpression, FilterQuery, SortDirection, SortKey, TagQuery, ValueComparator,
};
use crate::types::identifier::FileIdentifier;
use bromine::payload::DynamicSerializer;
@ -35,10 +35,10 @@ fn it_serializes_tag_queries() {
#[test]
fn it_serializes_filter_expressions() {
test_serialization(FilterExpression::Query(TagQuery {
test_serialization(FilterExpression::Query(FilterQuery::Tag(TagQuery {
tag: String::from("World"),
negate: false,
}))
})))
.unwrap();
}

Loading…
Cancel
Save