mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
feat: enforce non-empty icons for collections, lenses, and libraries
This commit is contained in:
@@ -837,6 +837,7 @@ describe('Authorization matrix (e2e)', () => {
|
||||
headers: authHeader(personas.ownerUser.accessToken),
|
||||
payload: {
|
||||
name: `authz-private-lens-${randomUUID()}`,
|
||||
icon: 'Aperture',
|
||||
defaultSort: [],
|
||||
isPublic: false,
|
||||
},
|
||||
@@ -872,6 +873,7 @@ describe('Authorization matrix (e2e)', () => {
|
||||
headers: authHeader(personas.ownerUser.accessToken),
|
||||
payload: {
|
||||
name: `authz-public-lens-${randomUUID()}`,
|
||||
icon: 'Aperture',
|
||||
defaultSort: [],
|
||||
isPublic: true,
|
||||
},
|
||||
|
||||
@@ -1415,6 +1415,7 @@ describe('Metadata write operations (e2e)', { timeout: SCENARIO_TIMEOUT_MS }, ()
|
||||
headers: authHeader(context.adminToken),
|
||||
payload: {
|
||||
name: `api-create-file-write-${randomUUID()}`,
|
||||
icon: 'BookOpen',
|
||||
folders: [folderPath],
|
||||
fileWriteEnabled: true,
|
||||
fileWriteWriteCover: false,
|
||||
|
||||
Reference in New Issue
Block a user