Skip to content

Commit

Permalink
chore: add testFixtures folder in detekt analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
bobeal committed Nov 10, 2024
1 parent 37c53f2 commit aa3454d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ subprojects {
config.setFrom(files("$rootDir/config/detekt/detekt.yml"))
buildUponDefaultConfig = true
baseline.set(file("$projectDir/config/detekt/baseline.xml"))
source("src/main/kotlin", "src/test/kotlin", "src/testFixtures/kotlin")

reports {
xml.required.set(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import arrow.core.Either
import com.egm.stellio.shared.model.APIException
import com.fasterxml.jackson.core.filter.FilteringParserDelegate
import com.fasterxml.jackson.core.filter.TokenFilter
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Assertions.fail
import java.io.ByteArrayInputStream

fun assertJsonPayloadsAreEqual(expectation: String, actual: String, ignoredKeys: Set<String> = emptySet()) {
Expand Down

0 comments on commit aa3454d

Please sign in to comment.