diff options
| author | Stepan Goremykin <goremukin@gmail.com> | 2023-10-08 00:17:48 +0200 |
|---|---|---|
| committer | Stepan Goremykin <goremukin@gmail.com> | 2023-10-08 00:17:48 +0200 |
| commit | a37dc3da96a5445178de01c43a683230bc14882f (patch) | |
| tree | 24ee5a81f717030074a68b2691fdd533212c9fb0 /tests/Jellyfin.Server.Integration.Tests/OpenApiSpecTests.cs | |
| parent | 0870af330df1040eddf76ae2b7cde3e97061b745 (diff) | |
Use async overload
Diffstat (limited to 'tests/Jellyfin.Server.Integration.Tests/OpenApiSpecTests.cs')
| -rw-r--r-- | tests/Jellyfin.Server.Integration.Tests/OpenApiSpecTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Jellyfin.Server.Integration.Tests/OpenApiSpecTests.cs b/tests/Jellyfin.Server.Integration.Tests/OpenApiSpecTests.cs index 0ade345a1..c083974d3 100644 --- a/tests/Jellyfin.Server.Integration.Tests/OpenApiSpecTests.cs +++ b/tests/Jellyfin.Server.Integration.Tests/OpenApiSpecTests.cs @@ -34,7 +34,7 @@ namespace Jellyfin.Server.Integration.Tests var responseBody = await response.Content.ReadAsStringAsync(); string outputPath = Path.GetFullPath(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) ?? ".", "openapi.json")); _outputHelper.WriteLine("Writing OpenAPI Spec JSON to '{0}'.", outputPath); - File.WriteAllText(outputPath, responseBody); + await File.WriteAllTextAsync(outputPath, responseBody); } } } |
