@@ -80,7 +80,7 @@ class ConfigWorkerTest : StringSpec({
8080 }
8181
8282 mockkTransaction {
83- val worker = ConfigWorker (mockk(), ortRunRepository, contextFactory, mockk(), mockPluginService())
83+ val worker = ConfigWorker (mockk(), ortRunRepository, contextFactory, mockk(), mockPluginService(), mockk() )
8484 worker.testRun() shouldBe RunResult .Success
8585
8686 verify {
@@ -110,7 +110,7 @@ class ConfigWorkerTest : StringSpec({
110110 }
111111
112112 mockkTransaction {
113- val worker = ConfigWorker (mockk(), ortRunRepository, contextFactory, mockk(), mockPluginService())
113+ val worker = ConfigWorker (mockk(), ortRunRepository, contextFactory, mockk(), mockPluginService(), mockk() )
114114 worker.testRun() shouldBe RunResult .Success
115115
116116 verify {
@@ -139,7 +139,7 @@ class ConfigWorkerTest : StringSpec({
139139 }
140140
141141 mockkTransaction {
142- val worker = ConfigWorker (mockk(), ortRunRepository, contextFactory, mockk(), mockPluginService())
142+ val worker = ConfigWorker (mockk(), ortRunRepository, contextFactory, mockk(), mockPluginService(), mockk() )
143143 when (val result = worker.testRun()) {
144144 is RunResult .Failed -> result.error should beInstanceOf<IllegalArgumentException >()
145145 else -> AssertionErrorBuilder .fail("Unexpected result: $result")
@@ -164,7 +164,7 @@ class ConfigWorkerTest : StringSpec({
164164 val configManager = mockConfigManager()
165165 every { configManager.getFileAsString(any(), any()) } throws configException
166166
167- val worker = ConfigWorker (mockk(), mockk(), contextFactory, mockk(), mockPluginService())
167+ val worker = ConfigWorker (mockk(), mockk(), contextFactory, mockk(), mockPluginService(), mockk() )
168168 when (val result = worker.testRun()) {
169169 is RunResult .Failed -> result.error shouldBe configException
170170 else -> AssertionErrorBuilder .fail("Unexpected result: $result")
@@ -184,7 +184,7 @@ class ConfigWorkerTest : StringSpec({
184184 }
185185
186186 mockkTransaction {
187- val worker = ConfigWorker (mockk(), ortRunRepository, contextFactory, mockk(), mockPluginService())
187+ val worker = ConfigWorker (mockk(), ortRunRepository, contextFactory, mockk(), mockPluginService(), mockk() )
188188 worker.testRun() shouldBe RunResult .Success
189189
190190 val slotContext = mutableListOf<WorkerContext >()
@@ -213,7 +213,7 @@ class ConfigWorkerTest : StringSpec({
213213 }
214214
215215 mockkTransaction {
216- val worker = ConfigWorker (mockk(), ortRunRepository, contextFactory, mockk(), mockPluginService())
216+ val worker = ConfigWorker (mockk(), ortRunRepository, contextFactory, mockk(), mockPluginService(), mockk() )
217217 worker.testRun() shouldBe RunResult .Success
218218
219219 val expectedJobConfigs = JobConfigurations (
@@ -245,7 +245,7 @@ class ConfigWorkerTest : StringSpec({
245245 }
246246
247247 mockkTransaction {
248- val worker = ConfigWorker (mockk(), ortRunRepository, contextFactory, mockk(), mockPluginService())
248+ val worker = ConfigWorker (mockk(), ortRunRepository, contextFactory, mockk(), mockPluginService(), mockk() )
249249 worker.testRun() shouldBe RunResult .Success
250250
251251 val slotContext = mutableListOf<WorkerContext >()
@@ -273,7 +273,7 @@ class ConfigWorkerTest : StringSpec({
273273 }
274274
275275 mockkTransaction {
276- val worker = ConfigWorker (mockk(), ortRunRepository, contextFactory, mockk(), mockPluginService())
276+ val worker = ConfigWorker (mockk(), ortRunRepository, contextFactory, mockk(), mockPluginService(), mockk() )
277277 worker.testRun() shouldBe RunResult .Success
278278
279279 val slotContext = mutableListOf<WorkerContext >()
0 commit comments