Remove always-false UITest check (#1904)

startUpTimeout can never be null. It is impossible. Fixes build warning
This commit is contained in:
Rose 2022-09-23 17:24:34 -04:00 committed by GitHub
commit b06e4403db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}