Use the server's renamed registry capability and web interface client
inbuxa-server renames the identifiers that carried the upstream name (its SPEC.md §2.4): upstream's JMAP capability for the registry (x:) objects is urn:inbuxa:jmap:registry, beside the fork's own urn:inbuxa:jmap, and the web interface it serves signs in as inbuxa-webui. There are no aliases, so this lands with the server change and deploys with it.
This commit is contained in:
@@ -36,17 +36,17 @@ describe('getOAuthClientId', () => {
|
||||
|
||||
it('falls back to the built-in default when the placeholder is empty', async () => {
|
||||
const getOAuthClientId = await loadWithMeta('<meta name="oauth-client-id" content="" />');
|
||||
expect(getOAuthClientId()).toBe('stalwart-webui');
|
||||
expect(getOAuthClientId()).toBe('inbuxa-webui');
|
||||
});
|
||||
|
||||
it('falls back to the built-in default when the placeholder is only whitespace', async () => {
|
||||
const getOAuthClientId = await loadWithMeta('<meta name="oauth-client-id" content=" " />');
|
||||
expect(getOAuthClientId()).toBe('stalwart-webui');
|
||||
expect(getOAuthClientId()).toBe('inbuxa-webui');
|
||||
});
|
||||
|
||||
it('falls back to the built-in default when the placeholder is absent', async () => {
|
||||
const getOAuthClientId = await loadWithMeta('');
|
||||
expect(getOAuthClientId()).toBe('stalwart-webui');
|
||||
expect(getOAuthClientId()).toBe('inbuxa-webui');
|
||||
});
|
||||
|
||||
it('is inbuxa-admin when hosted apart from the server', async () => {
|
||||
|
||||
Reference in New Issue
Block a user