Fix tests and update NEWS.md

pull/16315/head
cgonzalez 3 years ago
parent eb31e9daaa
commit 0504c90319

@ -21,6 +21,7 @@ Development
- Use the organization user's data while editing a user from organization settings [#16280](https://github.com/CartoDB/cartodb/pull/16280) - Use the organization user's data while editing a user from organization settings [#16280](https://github.com/CartoDB/cartodb/pull/16280)
- Fix schema name in layers created by free users [#16307](https://github.com/CartoDB/cartodb/pull/16307) - Fix schema name in layers created by free users [#16307](https://github.com/CartoDB/cartodb/pull/16307)
- Limit start parameter of Dropbox connector [#16264](https://github.com/CartoDB/cartodb/pull/16264) - Limit start parameter of Dropbox connector [#16264](https://github.com/CartoDB/cartodb/pull/16264)
- Migrate Redis DO subscription information in inter-cloud migrations [#16315](https://github.com/CartoDB/cartodb/pull/16315)
- OauthApps restricted by default [#16304](https://github.com/CartoDB/cartodb/pull/16304) - OauthApps restricted by default [#16304](https://github.com/CartoDB/cartodb/pull/16304)
- Support staging hostname in the catalog [#16258](https://github.com/CartoDB/cartodb/pull/16258) - Support staging hostname in the catalog [#16258](https://github.com/CartoDB/cartodb/pull/16258)
- Fix user migration export/import logs [#16298](https://github.com/CartoDB/cartodb/pull/16298) - Fix user migration export/import logs [#16298](https://github.com/CartoDB/cartodb/pull/16298)

@ -87,7 +87,9 @@ describe Carto::RedisExportService do
def check_do_subscriptions(export, synchronization) def check_do_subscriptions(export, synchronization)
expect(export[:redis][:do_subscriptions].keys).to eq(["do:#{@user.username}:datasets"]) expect(export[:redis][:do_subscriptions].keys).to eq(["do:#{@user.username}:datasets"])
expect( expect(
JSON.parse(export[:redis][:do_subscriptions]["do:#{@user.username}:datasets"])['synchronization_id'] JSON.parse(
export[:redis][:do_subscriptions]["do:#{@user.username}:datasets"]
).first['synchronization_id']
).to eq(synchronization.id) ).to eq(synchronization.id)
end end

Loading…
Cancel
Save