From ef962a9174e32dae0226bfe015ea60bd86f217bb Mon Sep 17 00:00:00 2001 From: Veloman Yunkan Date: Sun, 11 Apr 2021 15:45:21 +0400 Subject: [PATCH] LibraryTest.filterByPublisher --- test/library.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/library.cpp b/test/library.cpp index c6b04d3a..296c2c9b 100644 --- a/test/library.cpp +++ b/test/library.cpp @@ -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) {