mirror of https://github.com/quasar/Quasar.git
Removed useless test
The information returned by constructing a GeoIP class is never null or empty. It will return information stating that the information is "unknown" or provide some type of default value.
This commit is contained in:
parent
22f54b8250
commit
5a0378f2f2
|
@ -1,21 +0,0 @@
|
|||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using xClient.Core.Information;
|
||||
|
||||
|
||||
namespace xClient.Tests.Core.Information
|
||||
{
|
||||
[TestClass]
|
||||
public class GeoIPTests
|
||||
{
|
||||
[TestMethod]
|
||||
public void GetGeoIPTest()
|
||||
{
|
||||
var ipInformation = new GeoIP();
|
||||
Assert.IsNotNull(ipInformation.City);
|
||||
Assert.IsNotNull(ipInformation.Country);
|
||||
Assert.IsNotNull(ipInformation.CountryCode);
|
||||
Assert.IsNotNull(ipInformation.Region);
|
||||
Assert.IsNotNull(ipInformation.WanIp);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue