File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests-integration/Elastic.Documentation.Api.IntegrationTests/Fixtures Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public class ApiWebApplicationFactory : WebApplicationFactory<Program>
2525{
2626 public List < Activity > ExportedActivities { get ; } = [ ] ;
2727 public List < TestLogEntry > LogEntries { get ; } = [ ] ;
28- private readonly List < MemoryStream > MockMemoryStreams = [ ] ;
28+ private readonly List < MemoryStream > _mockMemoryStreams = [ ] ;
2929 protected override void ConfigureWebHost ( IWebHostBuilder builder ) =>
3030 builder . ConfigureServices ( services =>
3131 {
@@ -57,7 +57,7 @@ protected override void ConfigureWebHost(IWebHostBuilder builder) =>
5757 . ReturnsLazily ( ( ) =>
5858 {
5959 var stream = new MemoryStream ( Encoding . UTF8 . GetBytes ( "data: test\n \n " ) ) ;
60- MockMemoryStreams . Add ( stream ) ;
60+ _mockMemoryStreams . Add ( stream ) ;
6161 return Task . FromResult < Stream > ( stream ) ;
6262 } ) ;
6363 _ = services . AddSingleton ( mockAskAiGateway ) ;
@@ -80,11 +80,11 @@ protected override void Dispose(bool disposing)
8080 {
8181 if ( disposing )
8282 {
83- foreach ( var stream in MockMemoryStreams )
83+ foreach ( var stream in _mockMemoryStreams )
8484 {
8585 stream . Dispose ( ) ;
8686 }
87- MockMemoryStreams . Clear ( ) ;
87+ _mockMemoryStreams . Clear ( ) ;
8888 }
8989 base . Dispose ( disposing ) ;
9090 }
You can’t perform that action at this time.
0 commit comments