Allow multi patch http content type header (#521)
* header from obj * update git version mod * remove json patch test * test for json patch
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
using System.Linq;
|
||||
using k8s.Models;
|
||||
using Microsoft.AspNetCore.JsonPatch;
|
||||
using Xunit;
|
||||
|
||||
namespace k8s.Tests
|
||||
{
|
||||
public class JsonPatchTests
|
||||
{
|
||||
[Fact]
|
||||
public void PathContainsUpperCase()
|
||||
{
|
||||
var patch = new JsonPatchDocument<V1HorizontalPodAutoscaler>();
|
||||
patch.Replace(h => h.Spec.MinReplicas, 1);
|
||||
|
||||
Assert.Equal("/spec/minReplicas", patch.Operations.Single().path);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user