gocd-contrib / github-oauth-authorization-plugin

Apache License 2.0
12 stars 18 forks source link

Add test to prove additional properties allowed #278

Closed JamesMcNee closed 1 year ago

JamesMcNee commented 1 year ago

In order to prove that additional and arbitrary JSON properties are ignored during deserialisation on requests, this commit adds a test to broadly prove and ensure that this is the case.

@chadlwilson I thought seeing as I had written the test to prove it, I may as well commit it 😅, but not precious if you feel it's not worth keeping in.

Relates to: https://github.com/gocd/gocd/issues/11629