Skip to content

Commit

Permalink
Update Quake3Tests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
BattlefieldDuck committed Oct 31, 2021
1 parent ac12b83 commit 0352cc8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions OpenGSQTests/Protocols/Quake3Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,16 @@ namespace OpenGSQ.Protocols.Tests
[TestClass()]
public class Quake3Tests : TestBase
{
// Quake3 - https://www.gametracker.com/search/et/
public Quake3 quake3 = new Quake3("108.61.18.110", 27960);

public Quake3Tests() : base(nameof(Quake3Tests))
{
_EnableSave = false;
_DelayPerTest = 900;
}

[TestMethod()]
public void GetInfoTest()
{
// Quake3 - https://www.gametracker.com/search/et/
var quake3 = new Quake3("108.61.18.110", 27960);
var response = quake3.GetInfo();

SaveResult(nameof(GetInfoTest), JsonSerializer.Serialize(response, typeof(Dictionary<string, string>), Options));
Expand All @@ -28,6 +26,7 @@ public void GetInfoTest()
[TestMethod()]
public void GetStatusTest()
{
var quake3 = new Quake3("108.61.21.93", 27960);
var response = quake3.GetStatus();

SaveResult(nameof(GetStatusTest), JsonSerializer.Serialize(response, typeof(Quake3.Status), Options));
Expand Down

0 comments on commit 0352cc8

Please sign in to comment.