diff --git a/SpotifyAPI.Tests/SpotifyAPI.Tests.csproj b/SpotifyAPI.Tests/SpotifyAPI.Tests.csproj
index ae7bda63..4fe1ea5d 100644
--- a/SpotifyAPI.Tests/SpotifyAPI.Tests.csproj
+++ b/SpotifyAPI.Tests/SpotifyAPI.Tests.csproj
@@ -32,15 +32,17 @@
4
-
- ..\packages\Moq.4.2.1506.2515\lib\net40\Moq.dll
+
+ ..\packages\Moq.4.2.1510.2205\lib\net40\Moq.dll
+ True
-
- False
- ..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll
+
+ ..\packages\Newtonsoft.Json.8.0.2\lib\net45\Newtonsoft.Json.dll
+ True
-
- ..\packages\NUnit.2.6.4\lib\nunit.framework.dll
+
+ ..\packages\NUnit.3.0.0\lib\net45\nunit.framework.dll
+ True
@@ -67,11 +69,11 @@
-
-
\ No newline at end of file
+
diff --git a/SpotifyAPI.Tests/TestClass.cs b/SpotifyAPI.Tests/TestClass.cs
index 3fc90f3d..63417487 100644
--- a/SpotifyAPI.Tests/TestClass.cs
+++ b/SpotifyAPI.Tests/TestClass.cs
@@ -28,7 +28,7 @@ namespace SpotifyAPI.Tests
private static T GetFixture(string file)
{
- return JsonConvert.DeserializeObject(File.ReadAllText(Path.Combine("../../fixtures/", file)));
+ return JsonConvert.DeserializeObject(File.ReadAllText(Path.Combine(AppDomain.CurrentDomain.BaseDirectory + "../../../fixtures/", file)));
}
private static bool ContainsValues(string str, params string[] values)
@@ -37,11 +37,11 @@ namespace SpotifyAPI.Tests
}
[Test]
- [ExpectedException(typeof(InvalidOperationException))]
public void ShouldGetPrivateProfile_WithoutAuth()
{
_spotify.UseAuth = false;
- _spotify.GetPrivateProfile();
+
+ Assert.Throws(() => _spotify.GetPrivateProfile());
}
[Test]
diff --git a/SpotifyAPI.Tests/packages.config b/SpotifyAPI.Tests/packages.config
index 1dd84604..f388c034 100644
--- a/SpotifyAPI.Tests/packages.config
+++ b/SpotifyAPI.Tests/packages.config
@@ -2,5 +2,5 @@
-
+
\ No newline at end of file