Files
microsoft--semantic-kernel/dotnet/test/VectorData/Redis.ConformanceTests/ModelTests/RedisJsonDynamicModelTests.cs
T
wehub-resource-sync b957a53def
CodeQL / Analyze (csharp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:21:23 +08:00

25 lines
888 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 RedisJsonDynamicModelTests(RedisJsonDynamicModelTests.Fixture fixture)
: DynamicModelTests<string>(fixture), IClassFixture<RedisJsonDynamicModelTests.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 : DynamicModelTests<string>.Fixture
{
public override TestStore TestStore => RedisTestStore.JsonInstance;
}
}