diff --git a/ElevenLabs-DotNet-Tests/Test_Fixture_02_VoicesEndpoint.cs b/ElevenLabs-DotNet-Tests/Test_Fixture_02_VoicesEndpoint.cs index 9542926..af1d3be 100644 --- a/ElevenLabs-DotNet-Tests/Test_Fixture_02_VoicesEndpoint.cs +++ b/ElevenLabs-DotNet-Tests/Test_Fixture_02_VoicesEndpoint.cs @@ -78,7 +78,7 @@ public async Task Test_05_AddVoice() { { "accent", "american" } }; - var clipPath = Path.GetFullPath("..\\..\\..\\Assets\\test_sample_01.ogg"); + var clipPath = Path.GetFullPath("../../../Assets/test_sample_01.ogg"); var result = await ElevenLabsClient.VoicesEndpoint.AddVoiceAsync("Test Voice", new[] { clipPath }, testLabels); Assert.NotNull(result); Console.WriteLine($"{result.Name}"); @@ -99,7 +99,7 @@ public async Task Test_06_EditVoice() { "accent", "american" }, { "key", "value" } }; - var clipPath = Path.GetFullPath("..\\..\\..\\Assets\\test_sample_01.ogg"); + var clipPath = Path.GetFullPath("../../../Assets/test_sample_01.ogg"); var result = await ElevenLabsClient.VoicesEndpoint.EditVoiceAsync(voiceToEdit, new[] { clipPath }, testLabels); Assert.NotNull(result); Assert.IsTrue(result);