Skip to content

Commit

Permalink
mend
Browse files Browse the repository at this point in the history
  • Loading branch information
aleortega committed Dec 13, 2024
1 parent 34cdbaa commit 1a2eb46
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
10 changes: 5 additions & 5 deletions inbox/.env.default
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ HTTP_SERVER_PORT=5001
HTTP_SERVER_HOST=0.0.0.0
ENV=

# PG_COMPONENT_PSQL_PORT=''
# PG_COMPONENT_PSQL_HOST=''
# PG_COMPONENT_PSQL_DATABASE=''
# PG_COMPONENT_PSQL_USER=''
# PG_COMPONENT_PSQL_PASSWORD=''
PG_COMPONENT_PSQL_PORT=5450
PG_COMPONENT_PSQL_HOST=localhost
PG_COMPONENT_PSQL_DATABASE=notifications_worker
PG_COMPONENT_PSQL_USER=postgres
PG_COMPONENT_PSQL_PASSWORD=pass1234

SIGNING_KEY=
SERVICE_BASE_URL=
Expand Down
10 changes: 5 additions & 5 deletions processor/.env.default
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ HTTP_SERVER_PORT=5002
HTTP_SERVER_HOST=0.0.0.0
ENV=

# PG_COMPONENT_PSQL_PORT=5450
# PG_COMPONENT_PSQL_HOST=localhost
# PG_COMPONENT_PSQL_DATABASE=notifications_worker
# PG_COMPONENT_PSQL_USER=postgres
# PG_COMPONENT_PSQL_PASSWORD=pass1234
PG_COMPONENT_PSQL_PORT=5450
PG_COMPONENT_PSQL_HOST=localhost
PG_COMPONENT_PSQL_DATABASE=notifications_worker
PG_COMPONENT_PSQL_USER=postgres
PG_COMPONENT_PSQL_PASSWORD=pass1234

SIGNING_KEY=
SERVICE_BASE_URL=
Expand Down
4 changes: 3 additions & 1 deletion processor/test/unit/adapters/notifications-service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,15 @@ describe('notifications service tests', () => {
emailRenderer = await createEmailRenderer({ config })
const subscriptionService = await createSubscriptionsService({ db, logs })


notificationsService = await createNotificationsService({
config,
db,
emailRenderer,
logs,
sendGridClient,
subscriptionService
subscriptionService,
profiles: {} as any // TODO: Mock properly
})
})

Expand Down

0 comments on commit 1a2eb46

Please sign in to comment.