Skip to content

Commit

Permalink
Update MetadataTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
gregkalapos committed Nov 3, 2021
1 parent f3ee73e commit e2e2e83
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/Elastic.Apm.AspNetFullFramework.Tests/MetadataTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,11 @@ await WaitAndCustomVerifyReceivedData(receivedData =>
metadata.Service.Runtime.Name.Should().Be(Runtime.DotNetFullFrameworkName);
var sampleAppDotNetRuntimeDescription =
sampleAppResponse.Headers.GetValues(HomeController.DotNetRuntimeDescriptionHttpHeaderName).Single();
sampleAppDotNetRuntimeDescription.Should().StartWith(PlatformDetection.DotNetFullFrameworkDescriptionPrefix);
sampleAppDotNetRuntimeDescription.Should().StartWith(Runtime.DotNetFullFrameworkName);
metadata.Service.Runtime.Version.Should()
.Be(PlatformDetection.GetDotNetRuntimeVersionFromDescription(
sampleAppDotNetRuntimeDescription,
_logger,
PlatformDetection.DotNetFullFrameworkDescriptionPrefix));
_logger, Runtime.DotNetFullFrameworkName));
}
});
}
Expand Down

0 comments on commit e2e2e83

Please sign in to comment.