1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

[bug] enabling auth_provider from the tests happens twice in coverall context

This commit is contained in:
Sylvain 2020-07-01 18:12:14 +02:00
parent 956d865e4f
commit 0cd3f4a8b9
2 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@
- Fix a bug: health API is broken if ElasticSearch is not present
- Fix a bug: unable to sync members with stripe
- Fix a bug: version check is not working
- Fix a bug: enabling auth_provider from the tests happens twice in coverall context
- [TODO DEPLOY] `rails fablab:maintenance:clean_workers`
## v4.5.1 2020 July 1st

View File

@ -59,7 +59,7 @@ class AuthProvidersTest < ActionDispatch::IntegrationTest
assert_equal 2, provider[:providable_attributes][:o_auth2_mappings_attributes].length
# now let's activate this new provider
Fablab::Application.load_tasks
Fablab::Application.load_tasks if Rake::Task.tasks.empty?
Rake::Task['fablab:auth:switch_provider'].invoke(name)
db_provider.reload
@ -69,4 +69,4 @@ class AuthProvidersTest < ActionDispatch::IntegrationTest
assert_not_nil u.auth_token
end
end
end
end