Skip to content

Commit 389c7d2

Browse files
Update RMQHTTPTest to use httpbin.org
1 parent fd58404 commit 389c7d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

RMQClientTests/RMQHTTPTest.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ import XCTest
4444

4545
class RMQHTTPTest: XCTestCase {
4646
func testGet() {
47-
let http = RMQHTTP("http://scooterlabs.com")
48-
let actual = http.get("/echo")
47+
let http = RMQHTTP("http://httpbin.org")
48+
let actual = http.get("/uuid")
4949
let actualString = String(data: actual, encoding: String.Encoding.utf8)
50-
XCTAssertNotNil(actualString!.range(of: "[method] => GET"))
50+
XCTAssertNotNil(actualString!.range(of: "uuid"))
5151
}
5252
}

0 commit comments

Comments
 (0)