summaryrefslogtreecommitdiffstats
path: root/document/src/tests/globalidtest.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2019-08-21 07:59:11 +0200
committerGitHub <noreply@github.com>2019-08-21 07:59:11 +0200
commit415e9e002e4207809247b6bd5f9419960ab43ed1 (patch)
tree0111e27fb0b3e494401a98279d36c58b48c3d265 /document/src/tests/globalidtest.cpp
parentbe5759f30affe0e38ea4c442586a457f9cb698f8 (diff)
Revert "doc: -> id:"
Diffstat (limited to 'document/src/tests/globalidtest.cpp')
-rw-r--r--document/src/tests/globalidtest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/document/src/tests/globalidtest.cpp b/document/src/tests/globalidtest.cpp
index f612b9e341c..ab2af875e9f 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("id:ns:test::");
- verifyDocumentId("id:myns:test::http://foo.bar");
- verifyDocumentId("id:ns:test::jsrthsdf:a234aleingzldkifvasdfgadf");
+ verifyDocumentId("doc::test");
+ verifyDocumentId("doc:myns:http://foo.bar");
+ verifyDocumentId("doc:jsrthsdf:a234aleingzldkifvasdfgadf");
}
void
@@ -155,7 +155,7 @@ TEST_F(GlobalIdTest, testGidRangeConversion)
}
uint32_t scheme = randomizer.nextUint32(0, 2);
switch (scheme) {
- case 0: ost << "id:" << name_space.str() << ":mytype::";
+ case 0: ost << "doc:" << name_space.str() << ":";
break;
case 1: ost << "id:" << name_space.str() << ":mytype:n=";
ost << randomizer.nextUint32() << ":";