Skip to content

Commit

Permalink
fix nunit-console issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bugthesystem committed Mar 25, 2015
1 parent 7a1083a commit 000978c
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions FireSharp.Tests/FiresharpTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,22 @@ public class FiresharpTests : TestBase
[TestFixtureSetUp]
public async void TestFixtureSetUp()
{
IFirebaseConfig config = new FirebaseConfig
{
AuthSecret = FirebaseSecret,
BasePath = BasePath
};
_client = new FirebaseClient(config); //Uses Newtonsoft.Json Json Serializer

Task<FirebaseResponse> task1 = _client.DeleteAsync("todos");
Task<FirebaseResponse> task2 = _client.DeleteAsync("fakepath");

await Task.WhenAll(task1, task2);
}

protected override void FinalizeSetUp()
{
IFirebaseConfig config = new FirebaseConfig
{
AuthSecret = FirebaseSecret,
BasePath = BasePath
};
_client = new FirebaseClient(config); //Uses Newtonsoft.Json Json Serializer
_client.DeleteAsync("todos").Wait();

}

[Test, Category("INTEGRATION"), Category("ASYNC")]
Expand Down

0 comments on commit 000978c

Please sign in to comment.