Skip to content

Commit dbacd42

Browse files
committed
Update 1.3.1
include Error in .ToString()
1 parent cea3f63 commit dbacd42

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

OnTimeGCApi.Test/Main.cs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using Microsoft.VisualStudio.TestTools.UnitTesting;
22
using System;
33
using System.Collections.Generic;
4+
using System.Net;
45
using System.Threading;
56

67
namespace OnTimeGCApi.Test
@@ -13,6 +14,7 @@ public class Main
1314
[AssemblyInitialize()]
1415
public static void AssemblyInit(TestContext context)
1516
{
17+
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
1618
Configuration = Settings.Load("settings.json");
1719
}
1820

OnTimeGCApi/BaseResult.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class BaseResult
1212

1313
public override string ToString()
1414
{
15-
return $"{{ Status: {this.Status} | IsAnonymous: {this.IsAnonymous} | ErrorCode: {this.ErrorCode} }}";
15+
return $"{{ Status: {this.Status} | IsAnonymous: {this.IsAnonymous} | ErrorCode: {this.ErrorCode} | Error: {this.Error} }}";
1616
}
1717
}
1818
}

OnTimeGCApi/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
3232
// übernehmen, indem Sie "*" eingeben:
3333
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion("1.3.0.0")]
35-
[assembly: AssemblyFileVersion("1.3.0.0")]
34+
[assembly: AssemblyVersion("1.3.1.0")]
35+
[assembly: AssemblyFileVersion("1.3.1.0")]

0 commit comments

Comments
 (0)