public void Logout_Loggedin() { Assert.True(us.login("abc", "123")); ClientUserProfile prof = us.getUser("abc"); Assert.True(us.logout(prof.Username)); Assert.False(us.logout(prof.Username)); }
public void badEditUsername_Loggedout() { us.logout("abc"); //ClientUserProfile user = us.getUser("abc"); Assert.False(us.editUserName("aaaaa", "abc")); }
public void Success_LoginTest() { Assert.True(us.login("abc", "123")); us.logout("abc"); }