AliSoftware / OHHTTPStubs

Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!
MIT License
5.03k stars 601 forks source link

Add NSURLSession Cookie Test case #291

Open mikelupo opened 5 years ago

mikelupo commented 5 years ago

DO NOT SUBMIT THIS AS-IS.

Checklist

Description

This is an example that is meant to reproduce a problem. Please run the test case: test_NSURLSessionCookiesDefaultConfig

Motivation and Context

Oliver, this is for your perusal. There is a consensus amongst our developers that OHHTTPStubs might not be handling cookies correctly for NSURLSession tasks.

It's not solving a problem, though it might lead to 1) a correct test, 2) a bug investigation 3) Much need for alcohol.

Not yet. This is enough SPAM.

Ran it in the simulator.