openiddict / openiddict-core

Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
https://openiddict.com/
Apache License 2.0
4.39k stars 514 forks source link

Port the OpenIddict.Server unit tests from OpenIddict 2.x #894

Open kevinchalet opened 4 years ago

kevinchalet commented 4 years ago

The following classes will need to be adapted from 2.x:

Darthruneis commented 4 years ago

@kevinchalet I'm considering taking a look at this one based on our discussion in #956 - can you clarify specifically what you mean when you say 'Port' the tests? My best guess is to fix them/update them after they have broken during changes for 3.0, is that correct?

kevinchalet commented 4 years ago

Thanks @Darthruneis!

My best guess is to fix them/update them after they have broken during changes for 3.0, is that correct?

Yep, exactly. There are also new methods that were added to OpenIddictServerBuilder in 3.0 for which we'll need to add new unit tests after porting the tests class from 2.x (but it can be done in a separate PR).