Switch to replay handler

This commit is contained in:
Michael Bisbjerg 2019-01-26 18:56:12 +01:00
parent 926e9f0187
commit 1136320049

View File

@ -57,8 +57,8 @@ namespace TMDbLibTests.TestFramework
_initializedAs = name;
string file = Path.Combine(dataDir, $"data-{name}.json");
RecordingHandler handler = new RecordingHandler(file, new SocketsHttpHandler());
//ReplayingHandler handler = new ReplayingHandler(file);
//RecordingHandler handler = new RecordingHandler(file, new SocketsHttpHandler());
ReplayingHandler handler = new ReplayingHandler(file);
HttpClient httpClient = new HttpClient(handler);