mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-3028] i18n support for title service (#3342)
* i18n support for title service * cleanup tests * update tests
This commit is contained in:
committed by
Eugenio Romano
parent
b00eb1433e
commit
53cf5acc86
@@ -26,7 +26,6 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
selector: 'adf-upload-button-test',
|
||||
template: 'test componente'
|
||||
})
|
||||
|
||||
export class UploadTestComponent extends UploadBase {
|
||||
|
||||
constructor(protected uploadService: UploadService,
|
||||
@@ -234,7 +233,7 @@ describe('UploadBase', () => {
|
||||
addToQueueSpy = spyOn(uploadService, 'addToQueue');
|
||||
});
|
||||
|
||||
it('should be a mahor version upload if majorVersion is true', () => {
|
||||
it('should be a major version upload if majorVersion is true', () => {
|
||||
component.majorVersion = true;
|
||||
component.versioning = true;
|
||||
|
||||
@@ -250,7 +249,7 @@ describe('UploadBase', () => {
|
||||
}));
|
||||
});
|
||||
|
||||
it('should not be a mahor version upload if majorVersion is false', () => {
|
||||
it('should not be a major version upload if majorVersion is false', () => {
|
||||
component.majorVersion = false;
|
||||
component.versioning = true;
|
||||
|
||||
|
Reference in New Issue
Block a user