Allow empty query string text (#415)

* Allow empty query string text

* Remove test that is no longer valid

* Remove test that is no longer valid
This commit is contained in:
Karl Burtram
2017-07-15 10:14:32 -07:00
committed by GitHub
parent b20529cced
commit 18977a89dc
4 changed files with 2 additions and 38 deletions

View File

@@ -35,17 +35,6 @@ namespace Microsoft.SqlTools.ServiceLayer.UnitTests.QueryExecution.Execution
Assert.Throws<InvalidOperationException>(() => query.BatchSummaries);
}
[Fact]
public void QueryExecuteNoQueryText()
{
// If:
// ... I create a query that has a null query text
// Then:
// ... It should throw an exception
Assert.Throws<ArgumentException>(() =>
new Query(null, Common.CreateTestConnectionInfo(null, false), new QueryExecutionSettings(), MemoryFileSystem.GetFileStreamFactory()));
}
[Fact]
public void QueryExecuteNoConnectionInfo()
{