diff --git a/tests/finetuna.Tests.ps1 b/tests/finetuna.Tests.ps1 index 878664e..7bfa166 100644 --- a/tests/finetuna.Tests.ps1 +++ b/tests/finetuna.Tests.ps1 @@ -7,13 +7,6 @@ BeforeAll { $script:sampleFilePath = Get-ChildItem -Recurse totbot-tee-tune.jsonl } Describe "finetuna Module Tests" { - Context "Clear-TuneProvider" { - It "Should clear the provider configuration" { - #Clear-TuneProvider - $provider = Get-OpenAIContext - $provider.ApiKey | Should -BeNullOrEmpty - } - } Context "Set-TuneProvider" { It "Should set the API key and configuration" { $splat = @{ @@ -176,4 +169,12 @@ Describe "finetuna Module Tests" { $result.IsValid | Should -Be $true } } + + Context "Clear-TuneProvider" { + It "Should clear the provider configuration" { + Clear-TuneProvider + $provider = Get-OpenAIContext + $provider.ApiKey | Should -BeNullOrEmpty + } + } } \ No newline at end of file