Skip to content

Commit 6988a28

Browse files
authored
Fix a doc issue causing a test failure (#9128)
Maybe it causes real docs problems too, I'm not sure. Tests are super broken separate from this but I'm going to fix this and force land it, so I can land the main fix cleanly and backport it.
1 parent f808054 commit 6988a28

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/reference/running/deployment/note_cloud_reset_password.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
The administrator role name and its password used in the dump/restore process must be the same in both the instance dumped from and the instance restored to for the Gel tooling to continue functioning properly.
55
To change the default password in the Cloud instance, execute the following query in the instance:
66

7-
.. code-block:: edgeql-repl
7+
.. code-block:: edgeql
88
99
ALTER ROLE admin { set password := 'new_password' };

tests/test_docs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ def run_block_test(self, block):
316316
lang = block.lang
317317
expect_invalid = False
318318

319+
code = []
319320
if lang.endswith('-repl'):
320321
lang = lang.rpartition('-')[0]
321322
code = self.extract_snippets_from_repl(block.code)

0 commit comments

Comments
 (0)