1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

fixed broken test

This commit is contained in:
kay.one 2013-07-30 23:02:50 -07:00
parent 5a62e8ae6b
commit 78297e62b2

View File

@ -1,4 +1,6 @@

using System;
using System.Net;
using FluentAssertions;
using NUnit.Framework;
using NzbDrone.Test.Common;
@ -19,14 +21,13 @@ public void DownloadString_should_be_able_to_dowload_text_file()
[TestCase("")]
[TestCase("http://")]
[TestCase(null)]
[ExpectedException]
public void DownloadString_should_throw_on_error(string url)
{
var jquery = Subject.DownloadString(url);
Assert.Throws<ArgumentException>(() => Subject.DownloadString(url));
ExceptionVerification.ExpectedWarns(1);
}
[Test]
public void should_get_headers()
{