Skip to content

Commit

Permalink
Fix Warning
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-dmxc committed Dec 11, 2023
1 parent 7521a97 commit adba001
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions RDMSharpTests/RDM/UpdateManufacturerList.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Net;
using System.Xml;

namespace RDMSharpTest.RDM
Expand All @@ -11,11 +10,11 @@ public void Setup()
}

[Test]
public void UpdateManufacturerListMethode()
public async Task UpdateManufacturerListMethode()
{
using (var client = new WebClient())
using (var client = new HttpClient())
{
var website = client.DownloadString("https://tsp.esta.org/tsp/working_groups/CP/mfctrIDs.php");
var website = await client.GetStringAsync("https://tsp.esta.org/tsp/working_groups/CP/mfctrIDs.php");
website = website.Substring(website.IndexOf("<table id=\'main_table\'"));
website = website.Remove(website.IndexOf("</table>")) + "</table>";
website = website.Replace("<p>", "");
Expand Down

0 comments on commit adba001

Please sign in to comment.