diff options
author | Arsentiy Milchakov <milcars@mapswithme.com> | 2017-10-16 14:55:38 +0300 |
---|---|---|
committer | Aleksandr Zatsepin <alexzatsepin@users.noreply.github.com> | 2017-10-16 15:32:28 +0300 |
commit | db6c8c6db6c693317da28601d9fdb8926c109b08 (patch) | |
tree | 094527d7354fec35bbae029e876580537e506428 /indexer/indexer_tests | |
parent | aedd691347e23fed93e8fcc8cc5449a145da9137 (diff) |
[ugc] disable ugc for booking
Diffstat (limited to 'indexer/indexer_tests')
-rw-r--r-- | indexer/indexer_tests/ugc_types_test.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indexer/indexer_tests/ugc_types_test.cpp b/indexer/indexer_tests/ugc_types_test.cpp index a1dfb13290..d1016631ec 100644 --- a/indexer/indexer_tests/ugc_types_test.cpp +++ b/indexer/indexer_tests/ugc_types_test.cpp @@ -43,4 +43,13 @@ UNIT_TEST(UgcTypes_Full) holder.Assign(c.GetTypeByPath({"traffic_calming", "bump"})); TEST(!UGC::IsUGCAvailable(holder), ()); } + { + holder.Assign(c.GetTypeByPath({"sponsored", "booking"})); + TEST(!UGC::IsUGCAvailable(holder), ()); + TEST(!UGC::IsRatingAvailable(holder), ()); + TEST(!UGC::IsReviewsAvailable(holder), ()); + TEST(!UGC::IsDetailsAvailable(holder), ()); + ftraits::UGCRatingCategories expected = {}; + TEST_EQUAL(UGC::GetCategories(holder), expected, ()); + } } |