-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathenv.test.example
More file actions
37 lines (28 loc) · 1.23 KB
/
env.test.example
File metadata and controls
37 lines (28 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Test Database Configuration
# This file contains environment variables for running integration tests
# Copy this to .env.test and modify as needed
# Test Database URL (matches docker-compose.test.yml)
TEST_DATABASE_URL="postgresql://test:test@localhost:5433/hive_test"
# Test JWT Secret (different from production)
JWT_SECRET="test-jwt-secret-key-for-testing-only-64-chars-long"
# Test NextAuth Configuration
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_SECRET="test-nextauth-secret-key"
# Test GitHub OAuth (use test app credentials)
GITHUB_CLIENT_ID="test-github-client-id"
GITHUB_CLIENT_SECRET="test-github-client-secret"
# Test Environment
NODE_ENV="test"
# Pool Manager API Credentials
POOL_MANAGER_API_USERNAME="your-pool-manager-api-username-here"
POOL_MANAGER_API_PASSWORD="your-pool-manager-api-password-here"
# Swarm Superadmin API Key - Used for privileged swarm creation in tests
SWARM_SUPERADMIN_API_KEY="test-swarm-superadmin-api-key"
# Pusher Test Configuration
PUSHER_APP_ID="test-pusher-app-id"
PUSHER_KEY="test-pusher-key"
PUSHER_SECRET="test-pusher-secret"
PUSHER_CLUSTER="test-pusher-cluster"
# Pusher Client-side (public) test variables
NEXT_PUBLIC_PUSHER_KEY="test-pusher-key"
NEXT_PUBLIC_PUSHER_CLUSTER="test-pusher-cluster"