public void AddSingleUserWillNotFail() { var user = new HotspotUser() { Name = "TEST " + DateTime.Now.ToString(), LimitUptime = "1:00:00", Password = "******", }; Connection.Save(user); }
public void AddUserWithProfileWillNotFail() { string profileName = "TEST " + DateTime.Now.ToString(); var profile = new HotspotUserProfile() { Name = profileName, }; Connection.Save(profile); var user = new HotspotUser() { Name = "User for " + profileName, Profile = profileName, LimitUptime = "1:00:00", }; Connection.Save(user); }