refactor: 同步调整单元测试(虽然这个算不上是单元测试).

适配更改.
This commit is contained in:
LamGC 2021-09-02 18:54:16 +08:00
parent 2c1e9606e1
commit f5881ddbfe
Signed by: LamGC
GPG Key ID: 6C5AE2A913941E1D

View File

@ -13,7 +13,7 @@ class ScriptManagerTest {
public void loadScriptTest() {
ScriptManager manager = new ScriptManager(new File("./run/scripts"),
new ScriptComponents(new ScriptHttpClient(HttpClientBuilder.create().build()),
new ComputeInstanceManager()));
new ComputeInstanceManager(), new ScriptLoggerFactory()));
manager.loadScripts();