Skip to content
Snippets Groups Projects
Verified Commit 310bdc92 authored by Ira ¯\_(ツ)_/¯'s avatar Ira ¯\_(ツ)_/¯
Browse files

Separate unit from integration tests

parent fd60bfdd
No related branches found
No related tags found
No related merge requests found
package org.archlinux.keycloak.mailpass.rest;
import org.junit.Test;
import io.restassured.RestAssured;
public class MailPassResourceProviderFactoryTest {
// @ClassRule
// public static KeycloakMockRule mock = new KeycloakMockRule();
@Test
public void getHello() {
// String accessToken = mock.getAccessToken(aTokenConfig().withRealmRole("ROLE_ADMIN").build());
// System.out.println(accessToken);
RestAssured.given().when().get("http://localhost:8080/auth/realms/master/mailpass/norole/hello").then()
.statusCode(200);
// assertTrue(false);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment