Fix failing uning tests ...

This commit is contained in:
Paulo Gustavo Veiga
2014-01-12 22:53:42 -03:00
parent 0001dff347
commit 22c102917e
3 changed files with 10 additions and 10 deletions

View File

@@ -115,7 +115,7 @@ public class AdminController extends BaseController {
userService.changePassword(user);
}
@RequestMapping(method = RequestMethod.DELETE, value = "admin/users/{id}", consumes = {"text/plain"})
@RequestMapping(method = RequestMethod.DELETE, value = "admin/users/{id}")
@ResponseStatus(value = HttpStatus.NO_CONTENT)
public void getUserByEmail(@PathVariable long id) throws WiseMappingException {
final User user = userService.getUserBy(id);