mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-13 03:28:37 -05:00
Fix failing Loc lookups in hosting service (#679)
* Remove XUnit warnings which clogged up output * Use default namespace to fix loc lookup errors - Fixed errors due to localization change - Also removed internals visible attribute that could cause subtle issues where the hosting service doesn't work for other apps if things change * Add CI build and test for new projects * Up version number so we can pick up fix in nuget packages
This commit is contained in:
@@ -257,7 +257,7 @@ namespace Microsoft.SqlTools.Hosting.UnitTests.ServiceHostTests
|
||||
|
||||
// ... There should have been a response sent
|
||||
var outgoing = bc.ToArray();
|
||||
Assert.Equal(1, outgoing.Length);
|
||||
Assert.Single(outgoing);
|
||||
Assert.Equal(CommonObjects.MessageId, outgoing[0].Id);
|
||||
Assert.Equal(JToken.FromObject(ir), JToken.FromObject(ir));
|
||||
}
|
||||
@@ -289,7 +289,7 @@ namespace Microsoft.SqlTools.Hosting.UnitTests.ServiceHostTests
|
||||
mockHandler.Verify(h => h(shutdownParams, mockContext), Times.Exactly(2));
|
||||
|
||||
// ... There should have been a response sent
|
||||
Assert.Equal(1, bc.ToArray().Length);
|
||||
Assert.Single(bc);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user