DEV: Restos skipped test. Plugins can reset a single registry now. follow-up to 3e3c2ae (#50)

This commit is contained in:
Roman Rizzi 2021-07-02 13:38:59 -03:00 committed by GitHub
parent 785a97a4c8
commit 96d815c56c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ describe OAuth2BasicAuthenticator do
end end
describe 'fetch custom attributes' do describe 'fetch custom attributes' do
after { DiscoursePluginRegistry.reset! } after { DiscoursePluginRegistry.reset_register!(:oauth2_basic_additional_json_paths) }
let(:response) do let(:response) do
{ {
@ -133,7 +133,7 @@ describe OAuth2BasicAuthenticator do
} }
end end
xit 'stores custom attributes in the user associated account' do it 'stores custom attributes in the user associated account' do
custom_path = 'account.custom_attr' custom_path = 'account.custom_attr'
DiscoursePluginRegistry.register_oauth2_basic_additional_json_path( DiscoursePluginRegistry.register_oauth2_basic_additional_json_path(
custom_path, custom_path,