add FIXMEs
This commit is contained in:
parent
2338c3cc57
commit
695341c3dc
@ -160,7 +160,7 @@ public abstract class UseCase<T extends UseCase<?>> {
|
|||||||
.GET()
|
.GET()
|
||||||
.uri(new URI("http://localhost:" + testSuite.port + uriPath))
|
.uri(new URI("http://localhost:" + testSuite.port + uriPath))
|
||||||
.header("current-subject", ScenarioTest.RUN_AS_USER)
|
.header("current-subject", ScenarioTest.RUN_AS_USER)
|
||||||
.header("Authorization", "test")
|
.header("Authorization", "test") // FIXME: encode current-subject
|
||||||
.timeout(seconds(10))
|
.timeout(seconds(10))
|
||||||
.build();
|
.build();
|
||||||
final var response = client.send(request, BodyHandlers.ofString());
|
final var response = client.send(request, BodyHandlers.ofString());
|
||||||
@ -176,7 +176,7 @@ public abstract class UseCase<T extends UseCase<?>> {
|
|||||||
.uri(new URI("http://localhost:" + testSuite.port + uriPath))
|
.uri(new URI("http://localhost:" + testSuite.port + uriPath))
|
||||||
.header("Content-Type", "application/json")
|
.header("Content-Type", "application/json")
|
||||||
.header("current-subject", ScenarioTest.RUN_AS_USER)
|
.header("current-subject", ScenarioTest.RUN_AS_USER)
|
||||||
.header("Authorization", "test")
|
.header("Authorization", "test") // FIXME: encode current-subject
|
||||||
.timeout(seconds(10))
|
.timeout(seconds(10))
|
||||||
.build();
|
.build();
|
||||||
final var response = client.send(request, BodyHandlers.ofString());
|
final var response = client.send(request, BodyHandlers.ofString());
|
||||||
@ -192,7 +192,7 @@ public abstract class UseCase<T extends UseCase<?>> {
|
|||||||
.uri(new URI("http://localhost:" + testSuite.port + uriPath))
|
.uri(new URI("http://localhost:" + testSuite.port + uriPath))
|
||||||
.header("Content-Type", "application/json")
|
.header("Content-Type", "application/json")
|
||||||
.header("current-subject", ScenarioTest.RUN_AS_USER)
|
.header("current-subject", ScenarioTest.RUN_AS_USER)
|
||||||
.header("Authorization", "test")
|
.header("Authorization", "test") // FIXME: encode current-subject
|
||||||
.timeout(seconds(10))
|
.timeout(seconds(10))
|
||||||
.build();
|
.build();
|
||||||
final var response = client.send(request, BodyHandlers.ofString());
|
final var response = client.send(request, BodyHandlers.ofString());
|
||||||
@ -207,6 +207,7 @@ public abstract class UseCase<T extends UseCase<?>> {
|
|||||||
.uri(new URI("http://localhost:" + testSuite.port + uriPath))
|
.uri(new URI("http://localhost:" + testSuite.port + uriPath))
|
||||||
.header("Content-Type", "application/json")
|
.header("Content-Type", "application/json")
|
||||||
.header("current-subject", ScenarioTest.RUN_AS_USER)
|
.header("current-subject", ScenarioTest.RUN_AS_USER)
|
||||||
|
.header("Authorization", "test") // FIXME: encode current-subject
|
||||||
.timeout(seconds(10))
|
.timeout(seconds(10))
|
||||||
.build();
|
.build();
|
||||||
final var response = client.send(request, BodyHandlers.ofString());
|
final var response = client.send(request, BodyHandlers.ofString());
|
||||||
|
Loading…
Reference in New Issue
Block a user