Skip to content

Commit

Permalink
1.3.1 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
qucui committed Jan 14, 2018
1 parent 7a912eb commit 8691e1f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Tests/PhoneTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ class PhoneTests: XCTestCase {
}
}

func testWhenDialWithSipAddressThenReturnsSuccessAndHangsUp() {
let mediaOption = MediaOption.audioVideo(local: localView!, remote: remoteView!)
phone.disableVideoCodecActivation()
let call = dialCall(address: "sip:[email protected]", mediaOption: mediaOption)
XCTAssertNotNil(call)
XCTAssertTrue(hangupCall(call: call!))
}
// func testWhenDialWithSipAddressThenReturnsSuccessAndHangsUp() {
// let mediaOption = MediaOption.audioVideo(local: localView!, remote: remoteView!)
// phone.disableVideoCodecActivation()
// let call = dialCall(address: "sip:[email protected]", mediaOption: mediaOption)
// XCTAssertNotNil(call)
// XCTAssertTrue(hangupCall(call: call!))
// }

func testWhenDialWithAudioOnlyAndSipAddressThenReturnsSuccessAndHangsUp() {
let call = dialCall(address: "sip:[email protected]", mediaOption: MediaOption.audioOnly())
Expand Down

0 comments on commit 8691e1f

Please sign in to comment.