Skip to content

Commit 8d8d127

Browse files
committed
chore(common): Omit a superfluous type specifier for mocking
Signed-off-by: Sebastian Schuberth <[email protected]>
1 parent 807da32 commit 8d8d127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workers/common/src/test/kotlin/common/env/EnvironmentServiceTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class EnvironmentServiceTest : WordSpec({
8787
)
8888

8989
val service = mockk<InfrastructureServiceService> {
90-
coEvery { listForHierarchy(any<Hierarchy>()) } returns services
90+
coEvery { listForHierarchy(any()) } returns services
9191
}
9292

9393
val workerContext = mockk<WorkerContext> {

0 commit comments

Comments
 (0)