chore(damn): detekt, build, tests, formatting
fixed detekt issues where possible. fixed disttar failing build because tools is added twice in the server module. added workflowId where required. fixed some tests not being recognized because of runBlocking without explicit return type. formatting + imports.
This commit is contained in:
@@ -47,4 +47,4 @@ class ApprovalTriggerTest {
|
||||
|
||||
assertNull(result)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -89,4 +89,4 @@ class GrantSemanticsTest {
|
||||
val decision = engine.evaluate(req, ctx, grants, now)
|
||||
assertEquals(ApprovalOutcome.AUTO_APPROVED, decision.outcome)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,4 +52,4 @@ class TierImmutabilityTest {
|
||||
val decision = engine.evaluate(req, ctx, listOf(grant), now)
|
||||
Assertions.assertEquals(tier, decision.tier)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user