Skip to content

Commit 2ba230c

Browse files
authored
Merge pull request #1 from nkaradzhov/DOC-4423-tces-for-cmd-pages
Doc 4423 tces for cmd pages - fix problematic doctest
2 parents 689eed6 + c599e46 commit 2ba230c

10 files changed

+4619
-82
lines changed

doctests/cmds-cnxmgmt.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ console.log(res3); // OK
3939

4040
// REMOVE_START
4141
assert.equal(res3, "OK");
42+
await client.auth({ username: 'default', password: '' })
4243
await client.sendCommand(['ACL', 'DELUSER', 'test-user']);
4344
// REMOVE_END
4445
// STEP_END

doctests/cmds-hash.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const res8 = await client.hGet('myhash', 'field1')
5555
console.log(res8) // foo
5656

5757
const res9 = await client.hGet('myhash', 'field2')
58-
console.log(res9) // foo
58+
console.log(res9) // null
5959

6060
// REMOVE_START
6161
assert.equal(res7, 1);

0 commit comments

Comments
 (0)