Ensure that oauth2_provider.admin is registered before ours
Review Request #8884 — Created April 6, 2017 and submitted — Latest diff uploaded
During unit tests, it is possible that the
oauth2_providermodule's
admin registrations won't happen before we go to remove their
registration for theApplicationmodel to replace it with our own. We
now import the module (purely for side effects) in ouroauth.admin
module to ensure that happens.
Ran unit tests.