Skip to content

Commit

Permalink
Update from net.sourceforge.htmlunit to org.htmlunit
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfedh committed Jul 24, 2024
1 parent 0a4a366 commit 752baa1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1685,7 +1685,7 @@ Start by adding the following dependencies to your test project:
.pom.xml
----
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<groupId>org.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
<exclusions>
<exclusion>
Expand All @@ -1705,7 +1705,7 @@ Start by adding the following dependencies to your test project:
[source,gradle,role="secondary asciidoc-tabs-target-sync-gradle"]
.build.gradle
----
testImplementation("net.sourceforge.htmlunit:htmlunit")
testImplementation("org.htmlunit:htmlunit")
testImplementation("io.quarkus:quarkus-junit5")
----

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ First, add the following dependencies:
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.sourceforge.htmlunit</groupId>
<groupId>org.htmlunit</groupId>
<artifactId>htmlunit</artifactId>
<scope>test</scope>
</dependency>
Expand All @@ -444,7 +444,7 @@ First, add the following dependencies:
----
testImplementation("io.quarkus:quarkus-test-keycloak-server")
testImplementation("io.rest-assured:rest-assured")
testImplementation("net.sourceforge.htmlunit:htmlunit")
testImplementation("org.htmlunit:htmlunit")
----

`quarkus-test-keycloak-server` provides a utility class `io.quarkus.test.keycloak.client.KeycloakTestClient` for acquiring the realm specific access tokens and which you can use with `RestAssured` for testing the `/{tenant}/bearer` endpoint expecting bearer access tokens.
Expand Down

0 comments on commit 752baa1

Please sign in to comment.