Skip to content

Commit

Permalink
do not asume any Device Names in UnitTest
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertK66 committed Jul 2, 2024
1 parent 5d8605e commit f606227
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sharpcaster.Test/TestHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ public async static Task<ChromecastReceiver> FindChromecast()
{
IChromecastLocator locator = new MdnsChromecastLocator();
var chromecasts = await locator.FindReceiversAsync();
CurrentReceiver = chromecasts.Where(cc => cc.Name.StartsWith("B")).First();
//CurrentReceiver = chromecasts.First();
//CurrentReceiver = chromecasts.Where(cc => cc.Name.StartsWith("B")).First();
CurrentReceiver = chromecasts.First();
try {
TestOutput?.WriteLine("Using Receiver '" + (CurrentReceiver?.Model ?? "<null>") + "' at " + CurrentReceiver?.DeviceUri);
} catch {
Expand Down

0 comments on commit f606227

Please sign in to comment.