Skip to content

Commit

Permalink
Trying to fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
caiosba committed Sep 22, 2023
1 parent 2fe361e commit 800dd64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/controllers/graphql_controller_3_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def setup
post :create, params: { query: query }
assert_response :success
Sidekiq::Worker.drain_all
assert_equal url, d.reload.get_field_value('smooch_user_slack_channel_url')
assert_equal url, Dynamic.find(d.id).get_field_value('smooch_user_slack_channel_url')
# check that cache key exists
key = "SmoochUserSlackChannelUrl:Team:#{d.team_id}:#{author_id}"
assert_equal url, Rails.cache.read(key)
Expand Down

0 comments on commit 800dd64

Please sign in to comment.