Skip to content

Commit

Permalink
Downgrade json-path as it’s broken with OSGi
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-krecan committed Jun 18, 2021
1 parent b13ab78 commit fd93453
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -40,4 +40,4 @@ jobs:
- name: Build
env:
MAVEN_OPTS: ${{ matrix.maven-opts }}
run: mvn -B clean package --file pom.xml
run: mvn -B clean package biz.aQute.bnd:bnd-resolver-maven-plugin:resolve --file pom.xml
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -16,7 +16,7 @@
<assertj.version>3.20.1</assertj.version>
<target.java.version>1.8</target.java.version>
<junit-jupiter.version>5.7.2</junit-jupiter.version>
<json-path.version>2.6.0</json-path.version>
<json-path.version>2.4.0</json-path.version>
<opentest4j.version>1.2.0</opentest4j.version>
<kotlin.version>1.5.10</kotlin.version>
<bnd.version>5.3.0</bnd.version>
Expand Down
Expand Up @@ -1516,7 +1516,8 @@ void jsonPathWithNodeError() {
void jsonPathNumber() {
assertThatJson(json)
.inPath("$..book.length()")
.isEqualTo(valueOf(4));
.isArray()
.containsExactly(valueOf(4));
}

@Test
Expand Down

0 comments on commit fd93453

Please sign in to comment.