Skip to content
This repository has been archived by the owner on Jul 8, 2019. It is now read-only.

Commit

Permalink
created new settings.json.enc with new secrets and changed some hardc…
Browse files Browse the repository at this point in the history
…oded job and output ids in the tests to work with the new api key
  • Loading branch information
Dominic Miglar committed Jun 30, 2015
1 parent fb75be2 commit a498604
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ notifications:
email:
- bitcodin-ruby@bitmovin.net
before_install:
- openssl aes-256-cbc -K $encrypted_2da7166e2446_key -iv $encrypted_2da7166e2446_iv
- openssl aes-256-cbc -K $encrypted_fdb9f8631a1e_key -iv $encrypted_fdb9f8631a1e_iv
-in test/resources/settings.json.enc -out test/resources/settings.json -d

2 changes: 1 addition & 1 deletion test/jobs/bitcodin_api_create_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def setup
manifestTypes = []
manifestTypes.push(ManifestType::MPEG_DASH_MPD)
manifestTypes.push(ManifestType::HLS_M3U8)
@job = Job.new(3868, 7353, manifestTypes)
@job = Job.new(5730, 8556, manifestTypes)

end

Expand Down
2 changes: 1 addition & 1 deletion test/jobs/bitcodin_api_create_transfer_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def setup
@apiKey = data['apikey']

# create transfer config
@transferConfig = TransferConfig.new(2854, 2524)
@transferConfig = TransferConfig.new(3169, 3099)

end

Expand Down
2 changes: 1 addition & 1 deletion test/jobs/bitcodin_api_details_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def setup
end

def test_getJobDetails
response = @bitcodinAPI.getJobDetails(2854)
response = @bitcodinAPI.getJobDetails(3169)
assert_equal(response.code, ResponseCodes::GET)
end

Expand Down
2 changes: 1 addition & 1 deletion test/jobs/bitcodin_api_list_transfer_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def setup
end

def test_getJobDetails
response = @bitcodinAPI.listTransferJob(2854)
response = @bitcodinAPI.listTransferJob(3169)
assert_equal(response.code, ResponseCodes::GET)
end

Expand Down
2 changes: 1 addition & 1 deletion test/jobs/bitcodin_api_status_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def setup
end

def test_getJobStatus
response = @bitcodinAPI.getCurrentJobStatus(2854)
response = @bitcodinAPI.getCurrentJobStatus(3169)
assert_equal(response.code, ResponseCodes::GET)
end

Expand Down
Binary file modified test/resources/settings.json.enc
Binary file not shown.

0 comments on commit a498604

Please sign in to comment.