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

Commit 65170e5

Browse files
committed
don't use lic from app.config
1 parent a325d13 commit 65170e5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/ServiceStack.Redis.Tests/LicenseUsageTests.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@ public void SetUp()
2424
[TearDown]
2525
public void TearDown()
2626
{
27-
#if NETCORE
28-
Licensing.RegisterLicense(Environment.GetEnvironmentVariable("SERVICESTACK_LICENSE"));
29-
#else
30-
Licensing.RegisterLicense(new AppSettings().GetString("servicestack:license"));
31-
#endif
27+
Licensing.RegisterLicense(Environment.GetEnvironmentVariable("SERVICESTACK_LICENSE"));
3228
}
3329

3430
[Test]

0 commit comments

Comments
 (0)