LibraryTest.filterByPublisher

This commit is contained in:
Veloman Yunkan 2021-04-11 15:45:21 +04:00
parent f063d350c6
commit ef962a9174
1 changed files with 7 additions and 0 deletions

View File

@ -473,6 +473,13 @@ TEST_F(LibraryTest, filterByCreator)
);
}
TEST_F(LibraryTest, filterByPublisher)
{
EXPECT_FILTER_RESULTS(kiwix::Filter().publisher("Kiwix"),
"An example ZIM archive",
"Ray Charles"
);
}
TEST_F(LibraryTest, filterByMultipleCriteria)
{