We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35f8bcf commit c6d24a3Copy full SHA for c6d24a3
tests/Foundatio.Tests/Caching/InMemoryCacheClientTests.cs
@@ -1597,10 +1597,12 @@ public async Task DoMaintenanceAsync_WithPositiveTimezoneOffset_ShouldNotThrowOn
1597
}
1598
1599
1600
- [Fact]
1601
- public async Task GetAsync_WithObjectType_ReturnsValueDirectly()
+ [Theory]
+ [InlineData(false)]
1602
+ [InlineData(true)]
1603
+ public async Task GetAsync_WithObjectType_ReturnsValueDirectly(bool cloneValues)
1604
{
- var cache = new InMemoryCacheClient(o => o.LoggerFactory(Log));
1605
+ var cache = new InMemoryCacheClient(o => o.LoggerFactory(Log).CloneValues(cloneValues));
1606
using (cache)
1607
1608
var data = new MyData("hello", 42);
0 commit comments