stormpath / stormpath-framework-tck

HTTP integration tests that ensure a Stormpath web framework integration implements the Stormpath Framework Specification
Apache License 2.0
11 stars 5 forks source link

relax size check in RegsiterIT #325

Closed dogeared closed 7 years ago

dogeared commented 7 years ago

The framework spec says that the Register model returned as JSON should have form and accountStores keys in the response.

It does not say that there can't be additional keys.

Currently, RegisterIT.registerServesJsonViewModel fails if there are more than 2 keys in the response.

There is a requirement in the Java SDK to return the passwordPolicy in the view model. This is in support of the Client API.

However, the test is failing currently.