mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
CE-1887 Fix tests (pass qinstance into spec)
This commit is contained in:
@ -98,7 +98,9 @@ public abstract class SpecTestBase
|
||||
{
|
||||
service = Javalin.create(config ->
|
||||
{
|
||||
config.router.apiBuilder(() -> getSpec().defineRoute(getVersion()));
|
||||
AbstractEndpointSpec<?, ?, ?> spec = getSpec();
|
||||
spec.setQInstance(TestUtils.defineInstance());
|
||||
config.router.apiBuilder(() -> spec.defineRoute(getVersion()));
|
||||
}
|
||||
).start(PORT);
|
||||
}
|
||||
|
Reference in New Issue
Block a user