Add default constructor for tests
This commit is contained in:
parent
a2d84e182d
commit
8cfe3e4f2e
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,9 @@ using Website.Data.States;
|
|||
|
||||
namespace Website.Models {
|
||||
public class User {
|
||||
public User() {
|
||||
}
|
||||
|
||||
public User(UserState state) {
|
||||
Username = state.User_Email;
|
||||
Password = state.User_Password;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue