Bug 46315 - 01_base.01_ignore_disabled_users_in_license_count.test
01_base.01_ignore_disabled_users_in_license_count.test
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: License
unspecified
Other Linux
: P5 normal (vote)
: UCS 4.3
Assigned To: Felix Botner
Jürn Brodersen
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-02-16 15:17 CET by Felix Botner
Modified: 2018-03-14 14:37 CET (History)
0 users

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2018-02-16 15:17:40 CET
01_base.01_ignore_disabled_users_in_license_count.test counts disabled=0 as disabled user
Comment 1 Felix Botner univentionstaff 2018-02-16 15:22:10 CET
The test creates a user with disbaled=0 and disabled=1, in both cases the test expects the license counter to raise by one. This is wrong (and probably an artifact of the disabled changes in 4.3).

Changed to test to expect the license counter to raise only if user disabled=0.
Comment 2 Jürn Brodersen univentionstaff 2018-02-22 10:32:29 CET
If I understand the test correctly, disabled=1 and disabled=0 are now tested twice? I guess that can't hurt.
Test passes -> OK

-> Verified
Comment 3 Stefan Gohmann univentionstaff 2018-03-14 14:37:54 CET
UCS 4.3 has been released:
 https://docs.software-univention.de/release-notes-4.3-0-en.html
 https://docs.software-univention.de/release-notes-4.3-0-de.html

If this error occurs again, please use "Clone This Bug".