You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Nickvision.Desktop.Tests/NotificationServiceTests.cs
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
usingNickvision.Desktop.Application;
2
2
usingNickvision.Desktop.Filesystem;
3
3
usingNickvision.Desktop.Notifications;
4
+
usingSystem.Threading.Tasks;
4
5
5
6
namespaceNickvision.Desktop.Tests;
6
7
@@ -17,10 +18,10 @@ public void Case001_Initialize()
17
18
}
18
19
19
20
[TestMethod]
20
-
publicvoidCase002_SendShell()
21
+
publicasyncTaskCase002_SendShell()
21
22
{
22
23
Assert.IsNotNull(_notificationService);
23
-
Assert.IsTrue(_notificationService.Send(newShellNotification("Test Notification","This is a test notification body.",NotificationSeverity.Information)
24
+
Assert.IsTrue(await_notificationService.SendAsync(newShellNotification("Test Notification","This is a test notification body.",NotificationSeverity.Information)
0 commit comments