diff --git a/src/NzbDrone.Core/Lidarr.Core.csproj b/src/NzbDrone.Core/Lidarr.Core.csproj
index 7d3bdafa9..a8317fe85 100644
--- a/src/NzbDrone.Core/Lidarr.Core.csproj
+++ b/src/NzbDrone.Core/Lidarr.Core.csproj
@@ -10,7 +10,7 @@
-
+
diff --git a/src/NzbDrone.Integration.Test/ApiTests/ReleasePushFixture.cs b/src/NzbDrone.Integration.Test/ApiTests/ReleasePushFixture.cs
index b1201c872..a65c3ab0d 100644
--- a/src/NzbDrone.Integration.Test/ApiTests/ReleasePushFixture.cs
+++ b/src/NzbDrone.Integration.Test/ApiTests/ReleasePushFixture.cs
@@ -21,7 +21,7 @@ namespace NzbDrone.Integration.Test.ApiTests
body.Add("publishDate", DateTime.UtcNow.ToString("yyyy-MM-dd HH:mm:ssZ", CultureInfo.InvariantCulture));
var request = ReleasePush.BuildRequest();
- request.AddBody(body);
+ request.AddJsonBody(body);
var result = ReleasePush.Post(request, HttpStatusCode.OK);
result.Should().NotBeNull();
diff --git a/src/NzbDrone.Integration.Test/Client/ArtistClient.cs b/src/NzbDrone.Integration.Test/Client/ArtistClient.cs
index b8a454a0c..e8efd6764 100644
--- a/src/NzbDrone.Integration.Test/Client/ArtistClient.cs
+++ b/src/NzbDrone.Integration.Test/Client/ArtistClient.cs
@@ -14,15 +14,15 @@ namespace NzbDrone.Integration.Test.Client
public List Lookup(string term)
{
- var request = BuildRequest("lookup?term={term}");
- request.AddUrlSegment("term", term);
+ var request = BuildRequest("lookup");
+ request.AddQueryParameter("term", term);
return Get>(request);
}
public List Editor(ArtistEditorResource artist)
{
var request = BuildRequest("editor");
- request.AddBody(artist);
+ request.AddJsonBody(artist);
return Put>(request);
}
diff --git a/src/NzbDrone.Integration.Test/Client/ClientBase.cs b/src/NzbDrone.Integration.Test/Client/ClientBase.cs
index 41963cbc8..def4bc586 100644
--- a/src/NzbDrone.Integration.Test/Client/ClientBase.cs
+++ b/src/NzbDrone.Integration.Test/Client/ClientBase.cs
@@ -111,14 +111,14 @@ namespace NzbDrone.Integration.Test.Client
public TResource Post(TResource body, HttpStatusCode statusCode = HttpStatusCode.Created)
{
var request = BuildRequest();
- request.AddBody(body);
+ request.AddJsonBody(body);
return Post(request, statusCode);
}
public TResource Put(TResource body, HttpStatusCode statusCode = HttpStatusCode.Accepted)
{
var request = BuildRequest();
- request.AddBody(body);
+ request.AddJsonBody(body);
return Put(request, statusCode);
}
@@ -149,14 +149,14 @@ namespace NzbDrone.Integration.Test.Client
public object InvalidPost(TResource body, HttpStatusCode statusCode = HttpStatusCode.BadRequest)
{
var request = BuildRequest();
- request.AddBody(body);
+ request.AddJsonBody(body);
return Post