25 lines
878 B
C#
25 lines
878 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using Redis.ConformanceTests.Support;
|
|
using VectorData.ConformanceTests.ModelTests;
|
|
using VectorData.ConformanceTests.Support;
|
|
using Xunit;
|
|
|
|
namespace Redis.ConformanceTests.ModelTests;
|
|
|
|
public class RedisJsonBasicModelTests(RedisJsonBasicModelTests.Fixture fixture)
|
|
: BasicModelTests<string>(fixture), IClassFixture<RedisJsonBasicModelTests.Fixture>
|
|
{
|
|
public override async Task GetAsync_with_filter_and_multiple_OrderBys()
|
|
{
|
|
var exception = await Assert.ThrowsAsync<NotSupportedException>(base.GetAsync_with_filter_and_multiple_OrderBys);
|
|
|
|
Assert.Equal("Redis does not support ordering by more than one property.", exception.Message);
|
|
}
|
|
|
|
public new class Fixture : BasicModelTests<string>.Fixture
|
|
{
|
|
public override TestStore TestStore => RedisTestStore.JsonInstance;
|
|
}
|
|
}
|