Skip to content

Commit

Permalink
make sure PropertyTestsBase proxies inherited tests https://youtrack.…
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Sep 28, 2018
1 parent f9637a8 commit ee571a7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/Tests/Tests/Mapping/Types/PropertyTestsBase.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System;
using System.Threading.Tasks;
using Elastic.Xunit.XunitPlumbing;
using Nest;
using Elasticsearch.Net;
using Tests.Core.ManagedElasticsearch.Clusters;
Expand Down Expand Up @@ -39,5 +41,20 @@ protected override LazyResponses ClientUsage() => Calls(
{
Properties = this.InitializerProperties
};

// https://youtrack.jetbrains.com/issue/RIDER-19912
[U] protected override Task HitsTheCorrectUrl() => base.HitsTheCorrectUrl();

[U] protected override Task UsesCorrectHttpMethod() => base.UsesCorrectHttpMethod();

[U] protected override void SerializesInitializer() => base.SerializesInitializer();

[U] protected override void SerializesFluent() => base.SerializesFluent();

[I] public override Task ReturnsExpectedStatusCode() => base.ReturnsExpectedResponse();

[I] public override Task ReturnsExpectedIsValid() => base.ReturnsExpectedIsValid();

[I] public override Task ReturnsExpectedResponse() => base.ReturnsExpectedResponse();
}
}

0 comments on commit ee571a7

Please sign in to comment.