Skip to content

Commit 8a0c15f

Browse files
committed
Added delete log to integration test
1 parent c86631a commit 8a0c15f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/Elmah.Io.Client.Test/IntegrationTest.cs

+8
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ public void Test()
7171
var result = api.Logs.Diagnose(created.Id);
7272
Assert.That(result.Count, Is.EqualTo(0));
7373

74+
// Delete
75+
api.Messages.DeleteAll(created.Id, new Search { Query = "*" });
76+
Thread.Sleep(2000);
77+
78+
api.Logs.Delete(created.Id);
79+
Thread.Sleep(2000);
80+
Assert.That(api.Logs.GetAll().Count == logs.Count);
81+
7482
#endregion
7583

7684
#region SourceMaps

0 commit comments

Comments
 (0)