Merge pull request #35923 from votdev/fix_various_issues

mgr/dashboard: Fix bugs in a unit test and i18n translation

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
This commit is contained in:
Laura Paduano 2020-07-07 15:21:08 +02:00 committed by GitHub
commit f937df79a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -36,7 +36,7 @@ describe('RgwBucketListComponent', () => {
});
beforeEach(() => {
rgwBucketService = TestBed.get(RgwBucketService);
rgwBucketService = TestBed.inject(RgwBucketService);
rgwBucketServiceListSpy = spyOn(rgwBucketService, 'list');
rgwBucketServiceListSpy.and.returnValue(of(null));
fixture = TestBed.createComponent(RgwBucketListComponent);

View File

@ -61,8 +61,7 @@ export class TelemetryNotificationComponent implements OnInit, OnDestroy {
NotificationType.success,
this.i18n('Telemetry activation reminder muted'),
this.i18n(
'You can activate the module on the Telemetry configuration ' +
'page (<b>Dashboard Settings</b> -> <b>Telemetry configuration</b>) at any time.'
'You can activate the module on the Telemetry configuration page (<b>Dashboard Settings</b> -> <b>Telemetry configuration</b>) at any time.'
)
);
}