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:
Boshi Lian
2020-11-17 10:38:05 -08:00
committed by GitHub
parent e18ec35250
commit f59c13da0e
8 changed files with 673 additions and 539 deletions

View File

@@ -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);
}
}
}