Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 6602f2b

Browse files
committed
Remove licence from tests on .NET Core
1 parent ecc42e0 commit 6602f2b

File tree

1 file changed

+1
-8
lines changed
  • tests/ServiceStack.Text.Tests.NetCore/ServiceStack.Text.Tests

1 file changed

+1
-8
lines changed

tests/ServiceStack.Text.Tests.NetCore/ServiceStack.Text.Tests/Program.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,7 @@ public class Program
1919
/// <param name="args"></param>
2020
public static int Main(string[] args)
2121
{
22-
var licenseKey = Environment.GetEnvironmentVariable("SERVICESTACK_LICENSE");
23-
if (licenseKey.IsNullOrEmpty())
24-
throw new ArgumentNullException("SERVICESTACK_LICENSE", "Add Environment variable for SERVICESTACK_LICENSE");
25-
26-
Licensing.RegisterLicense(licenseKey);
27-
//"ActivatedLicenseFeatures: ".Print(LicenseUtils.ActivatedLicenseFeatures());
28-
29-
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("en-US");
22+
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("en-US");
3023
JsConfig.InitStatics();
3124
//JsonServiceClient client = new JsonServiceClient();
3225
var writer = new ExtendedTextWrapper(Console.Out);

0 commit comments

Comments
 (0)