fix tests
This commit is contained in:
parent
3cc5f764c8
commit
4c37e0f2f8
|
|
@ -397,7 +397,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests.InProcess
|
|||
Assert.Equal(HttpStatusCode.InternalServerError, response.StatusCode);
|
||||
var responseContent = await response.Content.ReadAsStringAsync();
|
||||
Assert.Contains("HTTP Error 500.31 - ANCM Failed to Find Native Dependencies", responseContent);
|
||||
Assert.Contains("The specified framework 'Microsoft.NETCore.App', version '2.9.9'", responseContent);
|
||||
Assert.Contains("The framework 'Microsoft.NETCore.App', version '2.9.9'", responseContent);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -308,7 +308,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests
|
|||
}
|
||||
else
|
||||
{
|
||||
return "The specified framework 'Microsoft.NETCore.App', version '2.9.9' was not found.";
|
||||
return "The framework 'Microsoft.NETCore.App', version '2.9.9' was not found.";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests
|
|||
StopServer();
|
||||
|
||||
EventLogHelpers.VerifyEventLogEvent(deploymentResult,
|
||||
"The specified framework 'Microsoft.NETCore.App', version '2.9.9' was not found.", Logger);
|
||||
"The framework 'Microsoft.NETCore.App', version '2.9.9' was not found.", Logger);
|
||||
}
|
||||
|
||||
[ConditionalFact]
|
||||
|
|
@ -56,7 +56,7 @@ namespace Microsoft.AspNetCore.Server.IIS.FunctionalTests
|
|||
StopServer();
|
||||
|
||||
var contents = Helpers.ReadAllTextFromFile(Helpers.GetExpectedLogName(deploymentResult, _logFolderPath), Logger);
|
||||
var expectedString = "The specified framework 'Microsoft.NETCore.App', version '2.9.9' was not found.";
|
||||
var expectedString = "The framework 'Microsoft.NETCore.App', version '2.9.9' was not found.";
|
||||
EventLogHelpers.VerifyEventLogEvent(deploymentResult, expectedString, Logger);
|
||||
Assert.Contains(expectedString, contents);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue