Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenWaysDP committed Nov 28, 2024
1 parent bfa9856 commit 7dfd2e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ AUTHORIZATION_API_HOST=http://localhost:3030

LOGGER_LOG_LEVEL=error

REDIS_URL=redis://localhost:6379

S3_ACCESS_KEY=miniouser
S3_BUCKET=ydocs
S3_ENDPOINT=localhost
Expand Down
2 changes: 1 addition & 1 deletion scripts/testing/globalSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default async function globalSetup(): Promise<void> {

const host = await redisMemoryServer.getHost();
const port = await redisMemoryServer.getPort();
process.env.REDIS = `redis://${host}:${port}`;
process.env.REDIS_URL = `redis://${host}:${port}`;
// @ts-ignore
global.__REDISINSTANCE = redisMemoryServer;
}

0 comments on commit 7dfd2e8

Please sign in to comment.