Skip to content

Commit

Permalink
(#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
OGKevin committed Jul 10, 2018
1 parent 563d47e commit 4943726
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions BunqSdk.Tests/BunqSdkTestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ protected static ApiContext SetUpApiContext()
{
ApiContext apiContext;

// if (File.Exists(FilenameContextConf))
if (false)
if (File.Exists(FilenameContextConf))
{
apiContext = ApiContext.Restore(FilenameContextConf);
apiContext.EnsureSessionActive();
Expand All @@ -105,7 +104,7 @@ private static SandboxUser GenerateNewSandboxUser()
httpClient.DefaultRequestHeaders.Add("X-Bunq-Geolocation", "0 0 0 0 NL");
httpClient.DefaultRequestHeaders.Add("X-Bunq-Language", "en_US");
httpClient.DefaultRequestHeaders.Add("X-Bunq-Region", "en_US");
httpClient.DefaultRequestHeaders.Add("User-Agent", "hoi");
httpClient.DefaultRequestHeaders.Add("User-Agent", "sdk_csharp_test_case");

var requestTask = httpClient.PostAsync(ApiEnvironmentType.SANDBOX.BaseUri + "sandbox-user", null);
requestTask.Wait();
Expand Down

0 comments on commit 4943726

Please sign in to comment.