Skip to content

Commit

Permalink
fix: Missing HASHID_SALT during tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mkleszcz committed Jul 2, 2024
1 parent 0fbe4d3 commit 30bec84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions packages/backend/.env.shared
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ DJANGO_DEFAULT_HOST=localhost
DJANGO_SECRET_KEY=X&*az9nsBNykh!hXMczbaeH2oAm%jR6ZalWcXDW0#PUjHn0Xjs

HASHID_FIELD_SALT=X&*az9nsBNykh!hXMczbaeH2oAm%jR6ZalWcXDW0#PUjHn0Xjs
HASHID_SALT=X&*az9nsBNykh!hXMczbaeH2oAm%jR6ZalWcXDW0#PUjHn0Xjs

ENVIRONMENT_NAME=local

Expand Down Expand Up @@ -37,8 +38,6 @@ DJSTRIPE_WEBHOOK_SECRET=whsec_<CHANGE_ME>
ACCESS_TOKEN_LIFETIME_MINUTES=5
REFRESH_TOKEN_LIFETIME_DAYS=7

HASHID_SALT=X&*az9nsBNykh!hXMczbaeH2oAm%jR6ZalWcXDW0#PUjHn0Xjs

AWS_STORAGE_BUCKET_NAME=test-bucket
AWS_EXPORTS_STORAGE_BUCKET_NAME=exports-bucket
AWS_XRAY_SDK_ENABLED=False
Expand Down
1 change: 1 addition & 0 deletions packages/backend/.test.env
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ DJANGO_PASSWORD_HASHERS=common.tests.hashers.DangerousMockHasher
DJANGO_DEFAULT_FILE_STORAGE=common.tests.storages.MockS3Boto3Storage

HASHID_FIELD_SALT=9q#3t$5gs9ob682b@(6^fdv2kg*0ztr(3doa((w&kyq!d8rbt^y
HASHID_SALT=2{N28?.CKenLuj0jp6C%

DB_CONNECTION='{"dbname":"backend","username":"backend","password":"backend","host":"db","port":5432}'
REDIS_CONNECTION=redis://redis:6379
Expand Down

0 comments on commit 30bec84

Please sign in to comment.