Skip to content

Commit

Permalink
avoid sidekiq deprecation warning in outbox test
Browse files Browse the repository at this point in the history
  • Loading branch information
pjurewicz committed Jan 2, 2023
1 parent d776a38 commit d45716c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def through_outbox?
consumer.process
entry_from_outbox = JSON.parse(redis.lindex("queue:default", 0))

CorrectAsyncHandler.perform_async(event_record.serialize(RubyEventStore::Serializers::YAML).to_h)
CorrectAsyncHandler.perform_async(event_record.serialize(RubyEventStore::Serializers::YAML).to_h.transform_keys(&:to_s))
entry_from_sidekiq = JSON.parse(redis.lindex("queue:default", 0))

expect(redis.llen("queue:default")).to eq(2)
Expand Down

0 comments on commit d45716c

Please sign in to comment.