mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ADF-5247] always enabled language picker (via extensions) (#1730)
* always enabled language picker * fix tests * update e2e tests * fix aos plugin
This commit is contained in:
@@ -483,24 +483,6 @@ describe('app.evaluators', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('canShowLanguagePicker', () => {
|
||||
it('should return true when property is true', () => {
|
||||
const context: any = {
|
||||
languagePicker: true
|
||||
};
|
||||
|
||||
expect(app.canShowLanguagePicker(context)).toBe(true);
|
||||
});
|
||||
|
||||
it('should return false when property is false', () => {
|
||||
const context: any = {
|
||||
languagePicker: false
|
||||
};
|
||||
|
||||
expect(app.canShowLanguagePicker(context)).toBe(false);
|
||||
});
|
||||
});
|
||||
|
||||
describe('canShowLogout', () => {
|
||||
it('should return false when `withCredentials` property is true', () => {
|
||||
const context: any = {
|
||||
|
Reference in New Issue
Block a user