Skip to content

Commit

Permalink
fix(test): workaround junit-intellij bug
Browse files Browse the repository at this point in the history
including "string(s)" in the test title make intellij think this test should be run with junit.

Signed-off-by: jonathan zollinger <jonathan.zollinger@outlook.com>
  • Loading branch information
Jonathan-Zollinger committed Mar 1, 2024
1 parent 29613ff commit 18fd16c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/test/groovy/com/graqr/threshr/ThreshrControllerSpec.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,16 @@ class ThreshrControllerSpec extends ThreshrSpec {
}

// https://github.com/Graqr/Threshr/issues/67
void "query product summaries with no error with tcin string(s)"() {
void "query product summaries with no error with tcin strings"() {
when:
threshrController.fetchProductSummaries(targetStore, tcinArg as String)
threshrController.fetchProductSummaries(targetStore, tcinArg)

then:
noExceptionThrown()

where:
tcinArg << new String[]{
tcin.getTcins().split(",")[0],
tcin.getTcins().split(",")
}
tcinArg << [tcin.getTcins().split(",")[0], tcin.getTcins().split(",")]

}

void "query product summaries with no error tcin type arg"() {
Expand Down

0 comments on commit 18fd16c

Please sign in to comment.