diff --git a/Directory.Packages.props b/Directory.Packages.props index 0308a6631..4c912491a 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -45,10 +45,10 @@ - - - - + + + + diff --git a/tests/Tests.Jeebs.WordPress/Functions/QueryAttachmentsF/GetFilePathAsync_Tests.cs b/tests/Tests.Jeebs.WordPress/Functions/QueryAttachmentsF/GetFilePathAsync_Tests.cs index 5ff88fe39..c7cfcf4eb 100644 --- a/tests/Tests.Jeebs.WordPress/Functions/QueryAttachmentsF/GetFilePathAsync_Tests.cs +++ b/tests/Tests.Jeebs.WordPress/Functions/QueryAttachmentsF/GetFilePathAsync_Tests.cs @@ -14,7 +14,7 @@ public async Task Attachment_Not_Found_Returns_None_With_AttachmentNotFoundMsg() { // Arrange var (db, w, _) = Setup(); - var empty = new List().AsEnumerable().WrapResult(); + var empty = new List().AsEnumerable().Wrap().AsResult(); db.QueryAsync(Arg.Any(), Arg.Any(), CommandType.Text, Arg.Any()).Returns(empty); var fileId = IdGen.ULongId(); @@ -32,7 +32,7 @@ public async Task Multiple_Attachments_Found_Returns_None_With_MultipleAttachmen { // Arrange var (db, w, _) = Setup(); - var list = new[] { new Attachment(), new Attachment() }.AsEnumerable().WrapResult(); + var list = new[] { new Attachment(), new Attachment() }.AsEnumerable().Wrap().AsResult(); db.QueryAsync(Arg.Any(), Arg.Any(), CommandType.Text, Arg.Any()).Returns(list); var fileId = IdGen.ULongId(); @@ -51,7 +51,7 @@ public async Task Returns_Attachment_File_Path() // Arrange var (db, w, v) = Setup(); var urlPath = Rnd.Str; - var single = new[] { new Attachment { UrlPath = urlPath } }.AsEnumerable().WrapResult(); + var single = new[] { new Attachment { UrlPath = urlPath } }.AsEnumerable().Wrap().AsResult(); db.QueryAsync(Arg.Any(), Arg.Any(), CommandType.Text, Arg.Any()).Returns(single); // Act