Added auto updater
This commit is contained in:
23
Filtration.Tests/Services/TestHTTPService.cs
Normal file
23
Filtration.Tests/Services/TestHTTPService.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using Filtration.Services;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Filtration.Tests.Services
|
||||
{
|
||||
[Ignore("Integration Test - Makes real HTTP call")]
|
||||
[TestFixture]
|
||||
public class TestHTTPService
|
||||
{
|
||||
[Test]
|
||||
public async void GetContent_FetchesDataFromUrl()
|
||||
{
|
||||
// Arrange
|
||||
var service = new HTTPService();
|
||||
|
||||
// Act
|
||||
var result = await service.GetContentAsync("http://ben-wallis.github.io/Filtration/filtration_version.xml");
|
||||
|
||||
// Assert
|
||||
Assert.IsNotNull(result);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user