public void LoginUser_GoodCredentials_ShouldBeTrue() { var user = FakeUserFactory.GetDummyUser(); var result = _userServices.login(user.email, user.password); result.Should().BeTrue(); }
public void AddNewUser_AlreadyExists_ShouldBeFalse() { var user = FakeUserFactory.GetDummyUser(); var result = _userServices.AddUser(user.email, user.password, user.isLibrarian); result .Should() .BeFalse(); }