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

Commit 3d6609b

Browse files
committed
Use LicenseHelper
1 parent abfbb10 commit 3d6609b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/ServiceStack.Text.Tests/LicensingTests.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,7 @@ public void Can_register_valid_trial_license()
127127
[Test]
128128
public void Can_register_valid_license()
129129
{
130-
#if !SL5 && !NETCORE_SUPPORT
131-
Licensing.RegisterLicense(new ServiceStack.Configuration.AppSettings().GetString("servicestack:license"));
132-
#else
133-
Licensing.RegisterLicense("1001-e1JlZjoxMDAxLE5hbWU6VGVzdCBCdXNpbmVzcyxUeXBlOkJ1c2luZXNzLEhhc2g6UHVNTVRPclhvT2ZIbjQ5MG5LZE1mUTd5RUMzQnBucTFEbTE3TDczVEF4QUNMT1FhNXJMOWkzVjFGL2ZkVTE3Q2pDNENqTkQyUktRWmhvUVBhYTBiekJGUUZ3ZE5aZHFDYm9hL3lydGlwUHI5K1JsaTBYbzNsUC85cjVJNHE5QVhldDN6QkE4aTlvdldrdTgyTk1relY2eis2dFFqTThYN2lmc0JveHgycFdjPSxFeHBpcnk6MjAxMy0wMS0wMX0=");
134-
#endif
130+
LicenseHelper.RegisterLicense();
135131
Assert.That(LicenseUtils.ActivatedLicenseFeatures(), Is.EqualTo(LicenseFeature.All));
136132
}
137133

0 commit comments

Comments
 (0)