Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Switch async void to async Task #879

Merged
merged 2 commits into from
Nov 16, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion test/MusicStore.Test/Models/ShoppingCartTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -19,7 +20,7 @@ public ShoppingCartTest(ShoppingCartFixture fixture)
}

[Fact]
public async void ComputesTotal()
public async Task ComputesTotal()
{
var cartId = Guid.NewGuid().ToString();
using (var db = _fixture.CreateContext())
Expand Down