-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy path.env.test
More file actions
46 lines (34 loc) · 1.32 KB
/
.env.test
File metadata and controls
46 lines (34 loc) · 1.32 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
38
39
40
41
42
43
44
45
46
# define your env variables for the test env here
APP_ENV=test
APP_SECRET='$ecretf0rt3st'
SECURE_SCHEME="http"
# We must set the kernel class for some unit tests.
KERNEL_CLASS='App\Kernel'
# Unit tests will fail if more deprecations than defined in this constant are triggered
SYMFONY_DEPRECATIONS_HELPER=999999
# Set this to 1 for a more verbose error output instead of our error page
APP_DEBUG=0
# For testing purposes we set the version to a fixed value
APP_VERSION=TEST_VERSION
# Using a different DB for testing:
DATABASE_URL=pdo-mysql://root:root@localhost/catroweb_test
DATABASE_NAME=catroweb_test
# Jenkins
JENKINS_URL='https://jenkins.catrob.at/buildByToken/buildWithParameters'
JENKINS_JOB='Build-Program'
JENKINS_TOKEN='SECRETTOKEN'
JENKINS_UPLOAD_TOKEN='UPLOADTOKEN'
# Panther
PANTHER_APP_ENV=panther
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots
# CAPTCHA: auto-bypassed in test env (CaptchaVerifier returns test-auto-pass)
CAPTCHA_API_ENDPOINT='http://localhost:3000'
CAPTCHA_PUBLIC_URL='http://localhost:3000'
CAPTCHA_SITE_KEY='test'
CAPTCHA_SECRET='test-secret'
# Text sanitizer disabled in tests (dedicated api-sanitizer suite enables it)
TEXT_SANITIZER_ENABLED=false
# Content safety scanning disabled in tests
CONTENT_SAFETY_ENABLED=false
CONTENT_SAFETY_URL=http://localhost:5000
CONTENT_SAFETY_THRESHOLD=0.7