Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Message 10 Could not find schema information for the element 'http://schemas.xmlsoap.org/ws/2004/09/policy:All'. D:\Documents\Visual Studio 2008\WebSites\WCFService1\App_WebReferences\ServiceReference3\Service.wsdl 5 8 D:\...\WCFService1\ #23

Open
@neemo26

Description

@test
public void testCreate() throws Exception {
assertEquals(_u.getId(), 0L);
authService.create(_u, _u.getPassword());
assertTrue(_u.getId() > 0L);
}

@Test
public void testResetPassword() throws Exception {
 AuthorizedUser user = authService.find(id);
 if (user.isBlocked()) {
 return;
 }
 String newPwd = "_newpwd";

// all the string params password are plain text.
authService.resetPassword(user, newPwd, newPwd, null);
AuthorizedUser u = authService.login(user.getAccount(), newPwd, null);
assertNotNull(u);
}

@Test
public void testUpdate() throws Exception {
 AuthorizedUser user = authService.find(id);
 String newContact = "10086";
 user.setContact(newContact);
 authService.update(user, "123456");
 assertEquals(newContact, authService.find(id).getContact());
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /