diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-08-21 09:14:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-21 09:14:35 +0200 |
commit | 991249b70460b61f3b73b53387dbc20357aedaa1 (patch) | |
tree | 7862378237365b2d0abbf51965f0620f165db0c9 /document/src/tests/globalidtest.cpp | |
parent | cb00b309ed537867e36e97dd2c9801c01d84489b (diff) |
Revert "Revert "doc: -> id:""
Diffstat (limited to 'document/src/tests/globalidtest.cpp')
-rw-r--r-- | document/src/tests/globalidtest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/document/src/tests/globalidtest.cpp b/document/src/tests/globalidtest.cpp index ab2af875e9f..f612b9e341c 100644 --- a/document/src/tests/globalidtest.cpp +++ b/document/src/tests/globalidtest.cpp @@ -88,9 +88,9 @@ TEST_F(GlobalIdTest, testBucketIdConversion) verifyDocumentId("id:ns:test:n=1000:abc"); verifyDocumentId("id:hsgf:test:n=18446744073700000000:dfdfsdfg"); verifyDocumentId("id:ns:mytype:g=somegroup:hmm"); - verifyDocumentId("doc::test"); - verifyDocumentId("doc:myns:http://foo.bar"); - verifyDocumentId("doc:jsrthsdf:a234aleingzldkifvasdfgadf"); + verifyDocumentId("id:ns:test::"); + verifyDocumentId("id:myns:test::http://foo.bar"); + verifyDocumentId("id:ns:test::jsrthsdf:a234aleingzldkifvasdfgadf"); } void @@ -155,7 +155,7 @@ TEST_F(GlobalIdTest, testGidRangeConversion) } uint32_t scheme = randomizer.nextUint32(0, 2); switch (scheme) { - case 0: ost << "doc:" << name_space.str() << ":"; + case 0: ost << "id:" << name_space.str() << ":mytype::"; break; case 1: ost << "id:" << name_space.str() << ":mytype:n="; ost << randomizer.nextUint32() << ":"; |