diff options
Diffstat (limited to 'searchcore/src/tests/proton/feedoperation/feedoperation_test.cpp')
-rw-r--r-- | searchcore/src/tests/proton/feedoperation/feedoperation_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/feedoperation/feedoperation_test.cpp b/searchcore/src/tests/proton/feedoperation/feedoperation_test.cpp index 5c4d7aca41d..6c1821dc00e 100644 --- a/searchcore/src/tests/proton/feedoperation/feedoperation_test.cpp +++ b/searchcore/src/tests/proton/feedoperation/feedoperation_test.cpp @@ -232,9 +232,9 @@ TEST("require that serialize/deserialize works for CompactLidSpaceOperation") op.serialize(stream); } { - const document::DocumentTypeRepo *repo = NULL; + const document::DocumentTypeRepo repo; CompactLidSpaceOperation op; - op.deserialize(stream, *repo); + op.deserialize(stream, repo); EXPECT_EQUAL(FeedOperation::COMPACT_LID_SPACE, op.getType()); EXPECT_EQUAL(2u, op.getSubDbId()); EXPECT_EQUAL(99u, op.getLidLimit()); |