Skip to content

Commit

Permalink
test: don't use keys from env for test
Browse files Browse the repository at this point in the history
  • Loading branch information
parfeon committed Apr 26, 2024
1 parent 6aed9d8 commit 764d16f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/lib/events/channel_metadata_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
VCR.use_cassette("lib/events/get_all_channels_metadata_with_filter_and_secret", record: :once) do
Pubnub::GetAllChannelsMetadata.any_instance.stub(:current_time).and_return "1714133102"
pubnub = Pubnub.new(
:subscribe_key => ENV['SDK_PAM_SUB_KEY'] || 'sub-a-mock-key',
:publish_key => ENV['SDK_PAM_PUB_KEY'] || 'sub-a-mock-key',
:secret_key => ENV['SDK_PAM_SEC_KEY'] || 'sec-a-mock-key',
:subscribe_key => 'sub-a-mock-key', # ENV['SDK_PAM_SUB_KEY'],
:publish_key => 'sub-a-mock-key', # ENV['SDK_PAM_PUB_KEY'],
:secret_key => 'sec-a-mock-key', # ENV['SDK_PAM_SEC_KEY'],
:user_id => "ruby-test-uuid",
)

Expand Down

0 comments on commit 764d16f

Please sign in to comment.