mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
tests: Check for leak of read-write pad ID when exporting
This commit is contained in:
parent
0f5a4bd1f8
commit
b683dc300d
1 changed files with 4 additions and 0 deletions
|
@ -147,6 +147,10 @@ describe(__filename, function () {
|
||||||
it('export OK', async function () {
|
it('export OK', async function () {
|
||||||
assert.match(text, /This is the/);
|
assert.match(text, /This is the/);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('writable pad ID is not leaked', async function () {
|
||||||
|
assert(!text.includes(testPadId));
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue