I can't spot any difference. Mine works :/

My test is:
https://github.com/keycloak/keycloak/blob/master/testsuite/integration/src/test/java/org/keycloak/testsuite/admin/UserTest.java#L596

On 8 January 2016 at 17:33, Juraci Paixão Kröhling <juraci@kroehling.de> wrote:
On 08.01.2016 16:28, Stian Thorgersen wrote:
Just added a testcase for this and it works fine. Did you set enabled to
true in UserRepresentation?

Yes, I'm setting it. Strange... Anyway, I'll take a look at your test and see if I can fix my side.

The code I'm currently using is this:
https://git.io/vuy6Z

- Juca.