From: Lenz Grimmer Date: Wed, 18 Dec 2019 15:48:28 +0000 (+0000) Subject: nautilus: mgr/dashboard: A block-manager can not access the po… (#31570) X-Git-Tag: v14.2.8~28^2~2^2~21 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3b0a63406bf204ac7b03a951ccb5d2fcd65336c0;p=ceph.git nautilus: mgr/dashboard: A block-manager can not access the po… (#31570) nautilus: mgr/dashboard: A block-manager can not access the pool page Reviewed-by: Ricardo Marques --- 3b0a63406bf204ac7b03a951ccb5d2fcd65336c0 diff --cc src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.spec.ts index db850079f63,50983ab85d5..3a365223ffd --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.spec.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.spec.ts @@@ -74,7 -75,14 +75,8 @@@ describe('PoolListComponent', () => expect(component.columns.every((column) => Boolean(column.prop))).toBeTruthy(); }); - it('returns pool details correctly', () => { - const pool = { prop1: 1, cdIsBinary: true, prop2: 2, cdExecuting: true, prop3: 3 }; - const expected = { prop1: 1, prop2: 2, prop3: 3 }; - expect(component.getPoolDetails(pool)).toEqual(expected); - }); - describe('monAllowPoolDelete', () => { + let configOptRead: boolean; let configurationService: ConfigurationService; beforeEach(() => {