feat: complete current GoChat updates
This commit is contained in:
@@ -57,9 +57,9 @@ describe('#validateRouteAccess', () => {
|
||||
expect(next).toHaveBeenCalledWith('/app/login');
|
||||
});
|
||||
|
||||
it('allows routes that were previously restricted to enterprise installs', () => {
|
||||
it('ignores unknown route metadata', () => {
|
||||
validateRouteAccess(
|
||||
{ name: 'reset_password', meta: { requireEnterprise: true } },
|
||||
{ name: 'reset_password', meta: { legacyAccessFlag: true } },
|
||||
next
|
||||
);
|
||||
expect(next).toHaveBeenCalledWith();
|
||||
|
||||
Reference in New Issue
Block a user