Skip to content

Commit

Permalink
Slight change to client helper to allow all tests to run properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Enkidu93 committed Nov 9, 2023
1 parent 6b29add commit 8d27f75
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/Serval.E2ETests/ServalClientHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ public ServalClientHelper(string audience, string prefix = "SCE_", bool ignoreSS
TranslationBuildConfig = new TranslationBuildConfig
{
Pretranslate = new List<PretranslateCorpusConfig>(),
Options = "{\"max_steps\":10}",
TrainOn = new List<TrainingCorpusConfig>()
Options = "{\"max_steps\":10}"
};
}

Expand Down Expand Up @@ -87,7 +86,6 @@ public async Task ClearEngines(string name = "")
}
}
TranslationBuildConfig.Pretranslate = new List<PretranslateCorpusConfig>();
TranslationBuildConfig.TrainOn = new List<TrainingCorpusConfig>();
EnginePerUser.Clear();
}

Expand Down

0 comments on commit 8d27f75

Please sign in to comment.