Skip to content

Commit 34060d6

Browse files
committed
TestURLSession: Undo discretionary/isDiscretionary change
1 parent 998a72b commit 34060d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TestFoundation/TestURLSession.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ class TestURLSession : LoopbackServerTest {
611611
config.timeoutIntervalForResource = 604800
612612
config.networkServiceType = .default
613613
config.allowsCellularAccess = false
614-
config.isDiscretionary = true
614+
config.discretionary = true
615615
config.httpShouldUsePipelining = true
616616
config.httpShouldSetCookies = true
617617
config.httpCookieAcceptPolicy = .always
@@ -626,7 +626,7 @@ class TestURLSession : LoopbackServerTest {
626626
XCTAssertEqual(config.timeoutIntervalForResource, 604800)
627627
XCTAssertEqual(config.networkServiceType, NSURLRequest.NetworkServiceType.default)
628628
XCTAssertEqual(config.allowsCellularAccess, false)
629-
XCTAssertEqual(config.isDiscretionary, true)
629+
XCTAssertEqual(config.discretionary, true)
630630
XCTAssertEqual(config.httpShouldUsePipelining, true)
631631
XCTAssertEqual(config.httpShouldSetCookies, true)
632632
XCTAssertEqual(config.httpCookieAcceptPolicy, HTTPCookie.AcceptPolicy.always)

0 commit comments

Comments
 (0)