Bug 713 - A user can't be deleted after being added in the UserSets.txt
Summary: A user can't be deleted after being added in the UserSets.txt
Status: CONFIRMED
Alias: None
Product: CS3343_SEP_group8
Classification: Unclassified
Component: DAO (show other bugs)
Version: version0
Hardware: PC Windows
: --- enhancement
Assignee: Meryem
URL:
Depends on:
Blocks:
 
Reported: 2022-11-16 17:12 HKT by Meryem
Modified: 2022-11-16 17:12 HKT (History)
0 users

See Also:


Attachments
This test case was green the first time running and red the second time running because the user was already added in the first run (14.29 KB, image/png)
2022-11-16 17:12 HKT, Meryem
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Meryem 2022-11-16 17:12:38 HKT
Created attachment 124 [details]
This test case was green the first time running and red the second time running because the user was already added in the first run

Problem location : UserDAO.java
Problem found : TestUserDAO.java

In the method testAddUser(): No delete option, so once a user is added it stays in the file unless we delete him manually.