单元测试:Longbow.lic文件所在位置更改为Scripts目录下

This commit is contained in:
Argo-MacBookPro 2019-02-16 11:52:46 +08:00
parent 380848bb91
commit 4bd9352351
2 changed files with 1 additions and 4 deletions

View File

@ -1,3 +0,0 @@
<lgb>
<token>tH0NNQQxF3DJiiPpEWlKmsCMOhp/ijYoPnWvpjAH9Nfph06YjvCg6SBgs0SLGKrp+pHKey0Lf/wN94bR7/TYcsHrX20WvxvhBPmk2REJxLyqn6M+fAQAX++XZsQH9ywhgZaM2maGN+cXO+y+5aXGvUYKKOL6dxCIRBSNtAl21swA</token>
</lgb>

View File

@ -35,7 +35,7 @@ namespace UnitTest
/// </summary> /// </summary>
public static void CopyLicense() public static void CopyLicense()
{ {
var licFile = RetrievePath($"UnitTest{Path.DirectorySeparatorChar}License{Path.DirectorySeparatorChar}Longbow.lic"); var licFile = RetrievePath($"Scripts{Path.DirectorySeparatorChar}Longbow.lic");
var targetFile = Path.Combine(AppContext.BaseDirectory, "Longbow.lic"); var targetFile = Path.Combine(AppContext.BaseDirectory, "Longbow.lic");
if (!File.Exists(targetFile)) if (!File.Exists(targetFile))