From 4ac87e262591b7801810f93b33e9db44bddbba5e Mon Sep 17 00:00:00 2001 From: Enkidu93 Date: Fri, 8 Mar 2024 14:05:54 -0500 Subject: [PATCH] Reset `TrainOn` between tests --- tests/Serval.E2ETests/ServalClientHelper.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Serval.E2ETests/ServalClientHelper.cs b/tests/Serval.E2ETests/ServalClientHelper.cs index 6f342181..76ab9aac 100644 --- a/tests/Serval.E2ETests/ServalClientHelper.cs +++ b/tests/Serval.E2ETests/ServalClientHelper.cs @@ -71,6 +71,7 @@ public async Task ClearEnginesAsync(string name = "") await TranslationEnginesClient.DeleteAsync(translationEngine.Id); } TranslationBuildConfig.Pretranslate = new List(); + TranslationBuildConfig.TrainOn = null; _enginePerUser.Clear(); }