Skip to content

Commit

Permalink
Apply change to simplify pattern for test based on PR feedback for Pr…
Browse files Browse the repository at this point in the history
…ojectTemplate example tests.
  • Loading branch information
michael-hawker committed Jul 12, 2022
1 parent 5935303 commit 440822f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public async Task SimpleAsyncUIExamplePageTest(ExampleProjectTemplateTestPage pa
[TestMethod]
public async Task ComplexAsyncUIExampleTest()
{
await App.DispatcherQueue.EnqueueAsync(() =>
await EnqueueAsync(() =>
{
var component = new ProjectTemplate_ClassicBinding();
Assert.IsNotNull(component);
Expand All @@ -97,7 +97,7 @@ public async Task ComplexAsyncUIExampleTest()
[TestMethod]
public async Task ComplexAsyncLoadUIExampleTest()
{
await App.DispatcherQueue.EnqueueAsync(async () =>
await EnqueueAsync(async () =>
{
var component = new ProjectTemplate_ClassicBinding();
Assert.IsNotNull(component);
Expand Down

0 comments on commit 440822f

Please sign in to comment.