Skip to content

Commit 23d1da0

Browse files
env testing
1 parent 3192a80 commit 23d1da0

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

.env.testing

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
APP_NAME="Salas"
2+
APP_ENV=testing
3+
APP_KEY=base64:FTJwz+7HAjLqMzDr6SZh7va2aCpamPHfYNWswV0QU/g=
4+
APP_DEBUG=true
5+
APP_URL=http://127.0.0.1:47800
6+
7+
# Configurações do Banco de Dados (MariaDB no Docker)
8+
DB_CONNECTION=mysql
9+
DB_HOST=127.0.0.1
10+
DB_PORT=47306
11+
DB_DATABASE=salas
12+
DB_USERNAME=root
13+
DB_PASSWORD=
14+
15+
# Filas
16+
QUEUE_CONNECTION=sync
17+
18+
# Drivers de Performance para Testes
19+
# Usamos 'array' ou 'file' para garantir que os testes não poluam o cache real
20+
CACHE_DRIVER=array
21+
FILESYSTEM_DISK=local
22+
23+
SESSION_DRIVER=file
24+
SESSION_LIFETIME=120
25+
26+
# Configurações de Email (Não envia emails reais durante o teste)
27+
MAIL_MAILER=log
28+
29+
# Dusk Specific
30+
# Força o Dusk a rodar em modo headless (sem abrir janela) se necessário
31+
# Útil para ambientes de CI como GitHub Actions
32+
# DUSK_START_MAXIMIZED=true
33+
DUSK_HEADLESS_DISABLED=true

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
/vendor
66
.env
77
.env.backup
8-
.env.testing
98
.env.dusk.local
109
.phpunit.result.cache
1110
Homestead.json

0 commit comments

Comments
 (0)