Skip to content

Commit 9d06e33

Browse files
committed
update tests and wf files
1 parent 8c16f72 commit 9d06e33

File tree

10 files changed

+20
-14
lines changed

10 files changed

+20
-14
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
BW_ACCOUNT_ID: ${{ secrets.BW_ACCOUNT_ID }}
1414
BW_USERNAME: ${{ secrets.BW_USERNAME }}
1515
BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
16+
BW_CLIENT_ID: ${{ secrets.BW_CLIENT_ID }}
17+
BW_CLIENT_SECRET: ${{ secrets.BW_CLIENT_SECRET }}
1618
BW_USERNAME_FORBIDDEN: ${{ secrets.BW_USERNAME_FORBIDDEN }}
1719
BW_PASSWORD_FORBIDDEN: ${{ secrets.BW_PASSWORD_FORBIDDEN }}
1820
BW_VOICE_APPLICATION_ID: ${{ secrets.BW_VOICE_APPLICATION_ID }}

.github/workflows/test-pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ env:
1313
BW_ACCOUNT_ID: ${{ secrets.BW_ACCOUNT_ID }}
1414
BW_USERNAME: ${{ secrets.BW_USERNAME }}
1515
BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
16+
BW_CLIENT_ID: ${{ secrets.BW_CLIENT_ID }}
17+
BW_CLIENT_SECRET: ${{ secrets.BW_CLIENT_SECRET }}
1618
BW_USERNAME_FORBIDDEN: ${{ secrets.BW_USERNAME_FORBIDDEN }}
1719
BW_PASSWORD_FORBIDDEN: ${{ secrets.BW_PASSWORD_FORBIDDEN }}
1820
BW_VOICE_APPLICATION_ID: ${{ secrets.BW_VOICE_APPLICATION_ID }}

.github/workflows/test-smoke.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ concurrency:
1515
env:
1616
BW_USERNAME: ${{ secrets.BW_USERNAME }}
1717
BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
18+
BW_CLIENT_ID: ${{ secrets.BW_CLIENT_ID }}
19+
BW_CLIENT_SECRET: ${{ secrets.BW_CLIENT_SECRET }}
1820
BW_USERNAME_FORBIDDEN: ${{ secrets.BW_USERNAME_FORBIDDEN }}
1921
BW_PASSWORD_FORBIDDEN: ${{ secrets.BW_PASSWORD_FORBIDDEN }}
2022
USER_NUMBER: ${{ secrets.USER_NUMBER }}

spec/smoke/calls_api_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
before(:all) do
1919
Bandwidth.configure do |config|
20-
config.username = BW_USERNAME
21-
config.password = BW_PASSWORD
20+
config.client_id = BW_CLIENT_ID
21+
config.client_secret = BW_CLIENT_SECRET
2222
end
2323
@calls_api_instance = Bandwidth::CallsApi.new
2424

spec/smoke/conferences_api_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
describe 'ConferencesApi Integration Tests' do
55
before(:all) do
66
Bandwidth.configure do |config|
7-
config.username = BW_USERNAME
8-
config.password = BW_PASSWORD
7+
config.client_id = BW_CLIENT_ID
8+
config.client_secret = BW_CLIENT_SECRET
99
config.return_binary_data = true
1010
end
1111
@conferences_api_instance = Bandwidth::ConferencesApi.new

spec/smoke/phone_number_lookup_api_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
before(:all) do
66
Bandwidth.configure do |config|
7-
config.username = BW_USERNAME
8-
config.password = BW_PASSWORD
7+
config.client_id = BW_CLIENT_ID
8+
config.client_secret = BW_CLIENT_SECRET
99
end
1010
@api_instance = Bandwidth::PhoneNumberLookupApi.new
1111
end

spec/smoke/recordings_api_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
describe 'RecordingsApi Integration Tests' do
55
before(:all) do
66
Bandwidth.configure do |config|
7-
config.username = BW_USERNAME
8-
config.password = BW_PASSWORD
7+
config.client_id = BW_CLIENT_ID
8+
config.client_secret = BW_CLIENT_SECRET
99
config.return_binary_data = true
1010
end
1111
@recordings_api_instance = Bandwidth::RecordingsApi.new

spec/smoke/statistics_api_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
describe 'StatisticsApi Integration Tests' do
33
before(:all) do
44
Bandwidth.configure do |config|
5-
config.username = BW_USERNAME
6-
config.password = BW_PASSWORD
5+
config.client_id = BW_CLIENT_ID
6+
config.client_secret = BW_CLIENT_SECRET
77
end
88
@statistics_api_instance = Bandwidth::StatisticsApi.new
99
end

spec/smoke/toll_free_verification_api_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
describe 'TollFreeVerificationApi' do
33
before(:all) do
44
Bandwidth.configure do |config|
5-
config.username = BW_USERNAME
6-
config.password = BW_PASSWORD
5+
config.client_id = BW_CLIENT_ID
6+
config.client_secret = BW_CLIENT_SECRET
77
end
88
@tfv_api_instance = Bandwidth::TollFreeVerificationApi.new
99
end

spec/smoke/transcriptions_api_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
describe 'TranscriptionsApi Integration Tests' do
55
before(:all) do
66
Bandwidth.configure do |config|
7-
config.username = BW_USERNAME
8-
config.password = BW_PASSWORD
7+
config.client_id = BW_CLIENT_ID
8+
config.client_secret = BW_CLIENT_SECRET
99
end
1010
@transcriptions_api_instance = Bandwidth::TranscriptionsApi.new
1111
@calls_api_instance = Bandwidth::CallsApi.new

0 commit comments

Comments
 (0)