Remove always-false UITest check

startUpTimeout can never be null. It is impossible. Fixes build warning
This commit is contained in:
Rose 2022-09-23 15:34:07 -04:00
commit bfed68b861

View file

@ -45,10 +45,6 @@ namespace CalculatorUITestFramework
public WindowsDriverServiceBuilder WithStartUpTimeOut(TimeSpan startUpTimeout)
{
if (startUpTimeout == null)
{
throw new ArgumentNullException("A startup timeout should not be NULL");
}
this.StartUpTimeout = startUpTimeout;
return this;
}