Skip to content

Commit

Permalink
adjust folder paths
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCS committed May 28, 2024
1 parent 262097b commit 27791a5
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using FluentAssertions;
using FluentAssertions.Execution;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
Expand Down Expand Up @@ -30,10 +31,11 @@ public async Task When_CallingManyWcfMethods_Then_CanPerformMath_Successfully()
var client = Fixture.Server.CreateClient();
client.CreateSession();

var addResponse = ResponseFactory.FromFiddlerLikeResponseFile($"{Fixture.StubsFolder}/MathWcf/Real_Responses/Happy/200_Add.txt");

var addResponse = ResponseFactory.FromFiddlerLikeResponseFile(Path.Combine(Fixture.StubsFolder, "MathWcf/Real_Responses/Happy/200_Add.txt"));
client.AppendHttpCallStub(HttpMethod.Post, new System.Uri(Url), addResponse, new Dictionary<string, string>() { { "SOAPAction", @"""http://tempuri.org/Add""" } });

var minusResponse = ResponseFactory.FromFiddlerLikeResponseFile($"{Fixture.StubsFolder}/MathWcf/Real_Responses/Happy/200_Minus.txt");
var minusResponse = ResponseFactory.FromFiddlerLikeResponseFile(Path.Combine(Fixture.StubsFolder, "MathWcf/Real_Responses/Happy/200_Minus.txt"));
client.AppendHttpCallStub(HttpMethod.Post, new System.Uri(Url), minusResponse, new Dictionary<string, string>() { { "SOAPAction", @"""http://tempuri.org/Subtract""" } });

// act
Expand Down

0 comments on commit 27791a5

Please sign in to comment.