Added Database tests
This commit is contained in:
@@ -6,8 +6,8 @@ class Admin(User):
|
||||
|
||||
No additional properties are assigned to the admin
|
||||
'''
|
||||
def __init__(self, id: int, username: str, password: str, firstname: str,
|
||||
lastname: str, email: str, phone: str, role: str):
|
||||
def __init__(self, username: str, password: str, firstname: str,
|
||||
lastname: str, email: str, phone: str):
|
||||
super().__init__(
|
||||
id, username, password, firstname, lastname, email, phone, role
|
||||
username, password, firstname, lastname, email, phone, "Admin"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user