Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions __test__/admin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ function buildAuthorizerCliArgs(): { args: string[]; clientId: string } {
'sqlite',
'--database-url',
'/tmp/authorizer-admin.db',
// Required as of server 2.4.0 — startup fails without it. The server's own
// address inside the container; the suite reaches it via a mapped host
// port, which only affects email links and the JWT `iss` claim.
'--url',
'http://localhost:8080',
'--enable-playground=false',
'--log-level',
'debug',
Expand Down
7 changes: 7 additions & 0 deletions __test__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ function buildAuthorizerCliArgs(): { args: string[]; clientId: string } {
'sqlite',
'--database-url',
'/tmp/authorizer.db',
// Required as of server 2.4.0 — startup fails without it. This is the
// server's own address *inside* the container, which is where it binds;
// the suite reaches it through a testcontainers-mapped host port, so the
// two differ. That only affects generated email links and the JWT `iss`
// claim, neither of which this suite asserts on.
'--url',
'http://localhost:8080',
'--enable-playground=false',
'--log-level',
'debug',
Expand Down
Loading