diff --git a/src/Bicep.Local.Deploy.IntegrationTests/EndToEndDeploymentTests.cs b/src/Bicep.Local.Deploy.IntegrationTests/EndToEndDeploymentTests.cs index 89a76caaae7..89b643c5767 100644 --- a/src/Bicep.Local.Deploy.IntegrationTests/EndToEndDeploymentTests.cs +++ b/src/Bicep.Local.Deploy.IntegrationTests/EndToEndDeploymentTests.cs @@ -439,18 +439,9 @@ param coords { var extensionMock = StrictMock.Of(); extensionMock.Setup(x => x.CreateOrUpdate(It.Is(req => req.Properties["uri"]!.ToString() == "https://api.weather.gov/points/47.6363726,-122.1357068"), It.IsAny())) - .Returns((req, _) => + .Returns((_, _) => { - req.Properties["body"] = """ -{ - "properties": { - "gridId": "SEW", - "gridX": "131", - "gridY": "68" - } -} -"""; - return Task.FromResult(new LocalExtensibilityOperationResponse(new Resource(req.Type, req.ApiVersion, identifiers, req.Properties, "Succeeded"), new ErrorData(new Error() { Code = "Code", Message = "Error message" }))); + return Task.FromResult(new LocalExtensibilityOperationResponse(null, new ErrorData(new Error() { Code = "Code", Message = "Error message" }))); }); var dispatcher = BicepTestConstants.CreateModuleDispatcher(services.Build().Construct());