mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
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:
commit
f937df79a0
@ -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);
|
||||
|
@ -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.'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user