From aca4b432e157c5e9063f551af8bff3de7641b744 Mon Sep 17 00:00:00 2001 From: Javier Calvarro Nelson Date: Fri, 16 Nov 2018 11:16:43 -0800 Subject: [PATCH] Switch async void to async Task (#879) Switch async void to async Task --- test/MusicStore.Test/Models/ShoppingCartTest.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/MusicStore.Test/Models/ShoppingCartTest.cs b/test/MusicStore.Test/Models/ShoppingCartTest.cs index 93a03c4..f445a45 100644 --- a/test/MusicStore.Test/Models/ShoppingCartTest.cs +++ b/test/MusicStore.Test/Models/ShoppingCartTest.cs @@ -2,6 +2,7 @@ // See License.txt in the project root for license information using System; +using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using MusicStore.Models; @@ -19,7 +20,7 @@ namespace MusicStore.Test } [Fact] - public async void ComputesTotal() + public async Task ComputesTotal() { var cartId = Guid.NewGuid().ToString(); using (var db = _fixture.CreateContext())