Skip to content

Commit

Permalink
BUG: Changed path to data file in auto update unit tests.
Browse files Browse the repository at this point in the history
As a result of changing the configuration to AnyCPU, the execution path is now one level up. The path to the data file has been changed to reflect this.
  • Loading branch information
ben51degrees committed Nov 1, 2016
1 parent b66f559 commit 3b21821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Unit Tests/Mobile/Detection/AutoUpdateTests.cs
Expand Up @@ -125,7 +125,7 @@ private void ValidateDownload(AutoUpdate.AutoUpdateStatus result)
/// </summary>
protected void SetLiteDataFile() {
String templateFile = AppDomain.CurrentDomain.BaseDirectory
+ "\\..\\..\\..\\..\\data\\51Degrees-LiteV3.2.dat";
+ "\\..\\..\\..\\data\\51Degrees-LiteV3.2.dat";
// Delete existing file in case it's already of the latest version.
if (TestDataFile.Exists)
{
Expand Down

0 comments on commit 3b21821

Please sign in to comment.