Skip to content

Commit 8bda6f4

Browse files
committed
TestURLSession: Undo discretionary/isDiscretionary change
1 parent 47d0900 commit 8bda6f4

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
@@ -619,7 +619,7 @@ class TestURLSession : LoopbackServerTest {
619619
config.timeoutIntervalForResource = 604800
620620
config.networkServiceType = .default
621621
config.allowsCellularAccess = false
622-
config.isDiscretionary = true
622+
config.discretionary = true
623623
config.httpShouldUsePipelining = true
624624
config.httpShouldSetCookies = true
625625
config.httpCookieAcceptPolicy = .always
@@ -634,7 +634,7 @@ class TestURLSession : LoopbackServerTest {
634634
XCTAssertEqual(config.timeoutIntervalForResource, 604800)
635635
XCTAssertEqual(config.networkServiceType, NSURLRequest.NetworkServiceType.default)
636636
XCTAssertEqual(config.allowsCellularAccess, false)
637-
XCTAssertEqual(config.isDiscretionary, true)
637+
XCTAssertEqual(config.discretionary, true)
638638
XCTAssertEqual(config.httpShouldUsePipelining, true)
639639
XCTAssertEqual(config.httpShouldSetCookies, true)
640640
XCTAssertEqual(config.httpCookieAcceptPolicy, HTTPCookie.AcceptPolicy.always)

0 commit comments

Comments
 (0)