77using Fitbit . Api . Portable ;
88using Fitbit . Models ;
99using NUnit . Framework ;
10+ using System . Threading . Tasks ;
1011
1112namespace Fitbit . Portable . Tests
1213{
@@ -26,7 +27,7 @@ public class AddSubscriptionTests
2627 [ Test ]
2728 [ Category ( "PubSub" ) ]
2829 [ Category ( "Portable" ) ]
29- public async void AddSubscription_UserEndPoint_WithoutSubscriberId ( )
30+ public async Task AddSubscription_UserEndPoint_WithoutSubscriberId ( )
3031 {
3132 Action < HttpRequestMessage > additionalChecks = message =>
3233 {
@@ -42,7 +43,7 @@ public async void AddSubscription_UserEndPoint_WithoutSubscriberId()
4243
4344 [ Category ( "PubSub" ) ]
4445 [ Test ] [ Category ( "Portable" ) ]
45- public async void AddSubscription_UserEndPoint_WithSubscriberId ( )
46+ public async Task AddSubscription_UserEndPoint_WithSubscriberId ( )
4647 {
4748 Action < HttpRequestMessage > additionalChecks = message =>
4849 {
@@ -64,7 +65,7 @@ public async void AddSubscription_UserEndPoint_WithSubscriberId()
6465
6566 [ Category ( "PubSub" ) ]
6667 [ Test ] [ Category ( "Portable" ) ]
67- public async void AddSubscription_ActivitiesEndPoint_WithoutSubscriberId ( )
68+ public async Task AddSubscription_ActivitiesEndPoint_WithoutSubscriberId ( )
6869 {
6970 Action < HttpRequestMessage > additionalChecks = message =>
7071 {
@@ -80,7 +81,7 @@ public async void AddSubscription_ActivitiesEndPoint_WithoutSubscriberId()
8081
8182 [ Category ( "PubSub" ) ]
8283 [ Test ] [ Category ( "Portable" ) ]
83- public async void AddSubscription_ActivitiesEndPoint_WithSubscriberId ( )
84+ public async Task AddSubscription_ActivitiesEndPoint_WithSubscriberId ( )
8485 {
8586 Action < HttpRequestMessage > additionalChecks = message =>
8687 {
@@ -102,7 +103,7 @@ public async void AddSubscription_ActivitiesEndPoint_WithSubscriberId()
102103
103104 [ Category ( "PubSub" ) ]
104105 [ Test ] [ Category ( "Portable" ) ]
105- public async void AddSubscription_BodyEndPoint_WithoutSubscriberId ( )
106+ public async Task AddSubscription_BodyEndPoint_WithoutSubscriberId ( )
106107 {
107108 Action < HttpRequestMessage > additionalChecks = message =>
108109 {
@@ -118,7 +119,7 @@ public async void AddSubscription_BodyEndPoint_WithoutSubscriberId()
118119
119120 [ Category ( "PubSub" ) ]
120121 [ Test ] [ Category ( "Portable" ) ]
121- public async void AddSubscription_BodyEndPoint_WithSubscriberId ( )
122+ public async Task AddSubscription_BodyEndPoint_WithSubscriberId ( )
122123 {
123124 Action < HttpRequestMessage > additionalChecks = message =>
124125 {
@@ -140,7 +141,7 @@ public async void AddSubscription_BodyEndPoint_WithSubscriberId()
140141
141142 [ Category ( "PubSub" ) ]
142143 [ Test ] [ Category ( "Portable" ) ]
143- public async void AddSubscription_FoodEndPoint_WithoutSubscriberId ( )
144+ public async Task AddSubscription_FoodEndPoint_WithoutSubscriberId ( )
144145 {
145146 Action < HttpRequestMessage > additionalChecks = message =>
146147 {
@@ -156,7 +157,7 @@ public async void AddSubscription_FoodEndPoint_WithoutSubscriberId()
156157
157158 [ Category ( "PubSub" ) ]
158159 [ Test ] [ Category ( "Portable" ) ]
159- public async void AddSubscription_FoodEndPoint_WithSubscriberId ( )
160+ public async Task AddSubscription_FoodEndPoint_WithSubscriberId ( )
160161 {
161162 Action < HttpRequestMessage > additionalChecks = message =>
162163 {
@@ -178,7 +179,7 @@ public async void AddSubscription_FoodEndPoint_WithSubscriberId()
178179
179180 [ Category ( "PubSub" ) ]
180181 [ Test ] [ Category ( "Portable" ) ]
181- public async void AddSubscription_MealsEndPoint_WithoutSubscriberId ( )
182+ public async Task AddSubscription_MealsEndPoint_WithoutSubscriberId ( )
182183 {
183184 Action < HttpRequestMessage > additionalChecks = message =>
184185 {
@@ -194,7 +195,7 @@ public async void AddSubscription_MealsEndPoint_WithoutSubscriberId()
194195
195196 [ Category ( "PubSub" ) ]
196197 [ Test ] [ Category ( "Portable" ) ]
197- public async void AddSubscription_MealsEndPoint_WithSubscriberId ( )
198+ public async Task AddSubscription_MealsEndPoint_WithSubscriberId ( )
198199 {
199200 Action < HttpRequestMessage > additionalChecks = message =>
200201 {
@@ -216,7 +217,7 @@ public async void AddSubscription_MealsEndPoint_WithSubscriberId()
216217
217218 [ Category ( "PubSub" ) ]
218219 [ Test ] [ Category ( "Portable" ) ]
219- public async void AddSubscription_SleepEndPoint_WithoutSubscriberId ( )
220+ public async Task AddSubscription_SleepEndPoint_WithoutSubscriberId ( )
220221 {
221222 Action < HttpRequestMessage > additionalChecks = message =>
222223 {
@@ -232,7 +233,7 @@ public async void AddSubscription_SleepEndPoint_WithoutSubscriberId()
232233
233234 [ Category ( "PubSub" ) ]
234235 [ Test ] [ Category ( "Portable" ) ]
235- public async void AddSubscription_SleepEndPoint_WithSubscriberId ( )
236+ public async Task AddSubscription_SleepEndPoint_WithSubscriberId ( )
236237 {
237238 Action < HttpRequestMessage > additionalChecks = message =>
238239 {
@@ -254,7 +255,7 @@ public async void AddSubscription_SleepEndPoint_WithSubscriberId()
254255
255256 [ Category ( "PubSub" ) ]
256257 [ Test ] [ Category ( "Portable" ) ]
257- public async void AddSubscription_WeightEndPoint_WithoutSubscriberId ( )
258+ public async Task AddSubscription_WeightEndPoint_WithoutSubscriberId ( )
258259 {
259260 Action < HttpRequestMessage > additionalChecks = message =>
260261 {
@@ -270,7 +271,7 @@ public async void AddSubscription_WeightEndPoint_WithoutSubscriberId()
270271
271272 [ Category ( "PubSub" ) ]
272273 [ Test ] [ Category ( "Portable" ) ]
273- public async void AddSubscription_WeightEndPoint_WithSubscriberId ( )
274+ public async Task AddSubscription_WeightEndPoint_WithSubscriberId ( )
274275 {
275276 Action < HttpRequestMessage > additionalChecks = message =>
276277 {
0 commit comments