diff options
Diffstat (limited to 'Aggregator')
| -rw-r--r-- | Aggregator/Tests/DownloadTests.cs | 9 | 
1 files changed, 8 insertions, 1 deletions
diff --git a/Aggregator/Tests/DownloadTests.cs b/Aggregator/Tests/DownloadTests.cs index 2e8528a..9a3bbc1 100644 --- a/Aggregator/Tests/DownloadTests.cs +++ b/Aggregator/Tests/DownloadTests.cs @@ -9,7 +9,14 @@ namespace Tests {          public void Test_DownloadXMLSync() {              string xml = Download.DownloadXMLSync("http://feeds.bbci.co.uk/news/rss.xml");              Assert.True(xml != null); -            Console.WriteLine(xml); +            Assert.True(xml != " "); +        } + +        [Fact] +        public async void Test_DownloadXML() { +            string xml = await Download.DownloadXML("http://feeds.bbci.co.uk/news/rss.xml"); +            Assert.True(xml != null); +            Assert.True(xml != " ");          }      }  }  | 
