Project

General

Profile

Actions

Bug #43760

closed

mgr/dashboard: Unit test does not do the mentioned thing

Added by Volker Theile over 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Component - Users & Roles
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The unit test AccessControlTest::test_load_v2() is testing a v1 database instead of a v2.

The current implementation of test_load_v2() loads a v1 user database which already contains the fields 'enabled' and 'pwdExpirationDate' that are added with v2. It's not possible that such a data structure exists. The loading and migration of a v1 database is tested in AccessControlTest::test_load_v1().

Actions

Also available in: Atom PDF