Skip to content

Commit a3b9cf4

Browse files
committed
test(provenant): Remove an enabled-condition
Provenant by now ships with the Docker image, so this check is not needed anymore. Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.io>
1 parent e6b90ee commit a3b9cf4

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

plugins/scanners/scancode/src/funTest/kotlin/ProvenantFunTest.kt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,12 @@
1919

2020
package org.ossreviewtoolkit.plugins.scanners.scancode
2121

22-
import io.kotest.core.annotation.Condition
23-
import io.kotest.core.annotation.EnabledIf
2422
import io.kotest.core.annotation.Tags
25-
import io.kotest.core.spec.Spec
26-
27-
import kotlin.reflect.KClass
2823

2924
import org.ossreviewtoolkit.model.LicenseFinding
3025
import org.ossreviewtoolkit.model.TextLocation
3126
import org.ossreviewtoolkit.scanner.AbstractPathScannerWrapperFunTest
3227

33-
@EnabledIf(ProvenantInPath::class)
3428
@Tags("RequiresExternalTool")
3529
class ProvenantFunTest : AbstractPathScannerWrapperFunTest() {
3630
override val scanner = ProvenantFactory.create()
@@ -45,7 +39,3 @@ class ProvenantFunTest : AbstractPathScannerWrapperFunTest() {
4539
LicenseFinding("Apache-2.0", TextLocation("LICENSE", 1, 201), 100.0f)
4640
)
4741
}
48-
49-
internal class ProvenantInPath : Condition {
50-
override fun evaluate(kclass: KClass<out Spec>): Boolean = ProvenantCommand.isInPath()
51-
}

0 commit comments

Comments
 (0)