Skip to content

Commit 92c539d

Browse files
committed
Added implementations as test could fail if test ran longer than 5 seconds
1 parent 4708848 commit 92c539d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Source/Tests/ExceptionlessClientTests.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,19 +97,18 @@ private class Person {
9797

9898
public class MySubmissionClient : ISubmissionClient {
9999
public SubmissionResponse PostEvents(IEnumerable<Event> events, ExceptionlessConfiguration config, IJsonSerializer serializer) {
100-
throw new NotImplementedException();
100+
return new SubmissionResponse(202);
101101
}
102102

103103
public SubmissionResponse PostUserDescription(string referenceId, UserDescription description, ExceptionlessConfiguration config, IJsonSerializer serializer) {
104-
throw new NotImplementedException();
104+
return new SubmissionResponse(202);
105105
}
106106

107107
public SettingsResponse GetSettings(ExceptionlessConfiguration config, int version, IJsonSerializer serializer) {
108-
throw new NotImplementedException();
108+
return new SettingsResponse(false);
109109
}
110110

111111
public void SendHeartbeat(string sessionIdOrUserId, bool closeSession, ExceptionlessConfiguration config) {
112-
throw new NotImplementedException();
113112
}
114113
}
115114
}

0 commit comments

Comments
 (0)