Skip to content

Commit 24126af

Browse files
committed
Tweak MemcachedClientGetTests for Unexpected BsonType exception
1 parent 4583afd commit 24126af

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Enyim.Caching.Tests/MemcachedClientGetTests.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ public async Task GetValueOrCreateAsyncTest()
103103
{
104104
var key = "GetValueOrCreateAsyncTest_" + Guid.NewGuid();
105105
var posts1 = await _client.GetValueOrCreateAsync(
106-
key,
107-
10,
106+
key,
107+
10,
108108
async () => await GenerateValue());
109109
Assert.NotNull(posts1);
110110

@@ -129,6 +129,7 @@ private Task<IEnumerable<BlogPost>> GenerateValue()
129129
internal class BlogPost
130130
{
131131
public string Title { get; set; }
132+
public string Tags { get; set; }
132133
public string Body { get; set; }
133134
}
134135
}

0 commit comments

Comments
 (0)