Skip to content

Commit d3e6962

Browse files
authored
SWI-7772 Update Smoke Tests (#171)
1 parent a5dbbed commit d3e6962

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

spec/smoke/conferences_api_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115

116116
expect(recording_complete).to be true
117117
end
118-
end
118+
end if false # skip due to PV issues
119119

120120
# Get Conference Recordings
121121
describe 'list_conference_recordings' do
@@ -134,7 +134,7 @@
134134

135135
$recording_id = data[0].recording_id
136136
end
137-
end
137+
end if false # skip due to PV issues
138138

139139
# Get Conference Recording Information
140140
describe 'get_conference_recording' do
@@ -150,7 +150,7 @@
150150
expect(data.recording_id).to be_instance_of(String)
151151
expect(data.file_format).to eq(Bandwidth::FileFormatEnum::WAV)
152152
end
153-
end
153+
end if false # skip due to PV issues
154154

155155
# Download Conference Recording
156156
describe 'download_conference_recording test' do
@@ -160,5 +160,5 @@
160160
expect(status_code).to eq(200)
161161
expect(data).to be_instance_of(String)
162162
end
163-
end
163+
end if false # skip due to PV issues
164164
end

spec/smoke/multi_channel_api_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from: BW_NUMBER,
1818
application_id: BW_MESSAGING_APPLICATION_ID,
1919
channel: Bandwidth::MultiChannelMessageChannelEnum::RBM,
20-
content: Bandwidth::MmsMessageContent.new(
20+
content: Bandwidth::RbmMessageContentText.new(
2121
text: 'Hello, this is a test message.',
2222
)
2323
)

spec/smoke/transcriptions_api_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,5 @@
7676

7777
expect(status_code).to eq(200) # This is a bug in the API, it should return 204. VAPI-1863 should fix this.
7878
end
79-
end
79+
end if false # skip due to PV issues
8080
end

spec/unit/api/multi_channel_api_spec.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,10 @@
2525
message_body = Bandwidth::MultiChannelChannelListObject.new(
2626
from: BW_NUMBER,
2727
application_id: BW_MESSAGING_APPLICATION_ID,
28-
channel: Bandwidth::MultiChannelMessageChannelEnum::MMS,
28+
channel: Bandwidth::MultiChannelMessageChannelEnum::SMS,
2929
content: Bandwidth::SmsMessageContent.new(
3030
text: 'Hello, this is a test message.',
3131
)
32-
# content: Bandwidth::MultiChannelChannelListObjectContent.build(
33-
# text: 'Hello, this is a test message.',
34-
# )
3532
)
3633
multi_channel_message_request = Bandwidth::MultiChannelMessageRequest.new(
3734
to: USER_NUMBER,

0 commit comments

Comments
 (0)