feat(server): make server storage adapters (#7902)

This commit is contained in:
forehalo
2024-08-21 05:30:26 +00:00
parent 6f9f579e5d
commit e20bdbf925
29 changed files with 1987 additions and 2111 deletions

View File

@@ -116,7 +116,7 @@ test('should share a page', async t => {
const msg1 = await publishPage(app, u2.token.token, 'not_exists_ws', 'page2');
t.is(
msg1,
'You do not have permission to access workspace not_exists_ws.',
'You do not have permission to access Space not_exists_ws.',
'unauthorized user can share page'
);
const msg2 = await revokePublicPage(
@@ -127,7 +127,7 @@ test('should share a page', async t => {
);
t.is(
msg2,
'You do not have permission to access workspace not_exists_ws.',
'You do not have permission to access Space not_exists_ws.',
'unauthorized user can share page'
);