Fix Newtonsoft.Json Pester tests

Look for library in new location.
This commit is contained in:
Andrew Schwartzmeyer 2015-12-21 13:00:47 -08:00
parent 6c7301c22c
commit 837f40bbee
2 changed files with 2 additions and 1 deletions

View file

@ -9,6 +9,7 @@
"dependencies": {
"NETStandard.Library": "1.0.0-rc2-23616",
"Newtonsoft.Json": "8.0.1-beta3",
"Microsoft.PowerShell.Commands.Utility": {
"type": "build",
"version": "1.0.0-*"

View file

@ -8,7 +8,7 @@ $here = Split-Path -Parent $MyInvocation.MyCommand.Path
Describe "Json.NET LINQ Parsing" {
# load third party Json.NET library
$path = "tools/Newtonsoft.Json.7.0.1/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.dll"
$path = "$env:CORE_ROOT/Newtonsoft.Json.dll"
[Microsoft.PowerShell.CoreCLR.AssemblyExtensions]::LoadFrom($path)
BeforeEach {