aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-08-12 21:36:29 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-08-12 21:36:29 +0000
commit20463c18ef1a6123baa93d0b25d7c09cfae02071 (patch)
treea7d15c02a806249f32a14e2b924ed7d473803826 /searchcore
parentd972c7ff721a5006b5e4ae4d467cd015ac3a09dc (diff)
Insert into correct field set
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/tests/proton/server/documentretriever_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/searchcore/src/tests/proton/server/documentretriever_test.cpp b/searchcore/src/tests/proton/server/documentretriever_test.cpp
index d956e1ff647..8385bf89780 100644
--- a/searchcore/src/tests/proton/server/documentretriever_test.cpp
+++ b/searchcore/src/tests/proton/server/documentretriever_test.cpp
@@ -603,11 +603,11 @@ TEST("require ") {
EXPECT_FALSE(fsDB.areAllFieldsAttributes(33, notAllAttr));
EXPECT_EQUAL(4u, lookup._count);
- allAttr.insert(&attr1);
+ notAllAttr.insert(&attr1);
EXPECT_FALSE(fsDB.areAllFieldsAttributes(39, notAllAttr));
- EXPECT_EQUAL(5u, lookup._count);
+ EXPECT_EQUAL(6u, lookup._count);
EXPECT_FALSE(fsDB.areAllFieldsAttributes(39, notAllAttr));
- EXPECT_EQUAL(5u, lookup._count);
+ EXPECT_EQUAL(6u, lookup._count);
}
} // namespace