mirror of
https://github.com/ceph/ceph
synced 2025-01-11 13:41:02 +00:00
mgr/dashboard: Fix a broken ECP controller test
The change in b3e69a9609
broke the test's assumption that the endpoint
wouldn't be readable by block-manager. It doesn't looks as though that's
actually problematic for the ECP controller, so just update the test to
use rgw-manager instead.
Signed-off-by: Zack Cerza <zack@redhat.com>
This commit is contained in:
parent
6d64cf5c93
commit
b22d8106d1
@ -11,7 +11,7 @@ class ECPTest(DashboardTestCase):
|
||||
|
||||
AUTH_ROLES = ['pool-manager']
|
||||
|
||||
@DashboardTestCase.RunAs('test', 'test', ['block-manager'])
|
||||
@DashboardTestCase.RunAs('test', 'test', ['rgw-manager'])
|
||||
def test_read_access_permissions(self):
|
||||
self._get('/api/erasure_code_profile')
|
||||
self.assertStatus(403)
|
||||
|
Loading…
Reference in New Issue
Block a user