tests fixing ofr modules
This commit is contained in:
+4
-5
@@ -1,5 +1,7 @@
|
||||
APP_ENV=local
|
||||
APP_URL=https://wms.vm
|
||||
APP_URL=http://127.0.0.1:8000
|
||||
SESSION_DRIVER=file
|
||||
CACHE_STORE=array
|
||||
|
||||
APP_KEY=base64:O0djxuJapvByUFNx5avmY7od6Y6C05JYv3kAFNrlrMX=
|
||||
DB_CONNECTION=pgsql
|
||||
DB_HOST=127.0.0.1
|
||||
@@ -7,8 +9,5 @@ DB_PORT=5432
|
||||
DB_DATABASE=wms_dusk
|
||||
DB_USERNAME=wms_user
|
||||
DB_PASSWORD=987400Kmh
|
||||
|
||||
SESSION_DRIVER=file
|
||||
CACHE_STORE=array
|
||||
QUEUE_CONNECTION=sync
|
||||
MAIL_MAILER=array
|
||||
|
||||
@@ -168,6 +168,14 @@
|
||||
"full-test": [
|
||||
"@php artisan test",
|
||||
"@php artisan dusk"
|
||||
],
|
||||
"dusk:serve": [
|
||||
"php artisan serve --env=dusk.local --host=127.0.0.1 --port=8000"
|
||||
],
|
||||
"dusk:fresh": [
|
||||
"php artisan optimize:clear --env=dusk.local",
|
||||
"php artisan migrate:fresh --seed --env=dusk.local",
|
||||
"php artisan dusk"
|
||||
]
|
||||
},
|
||||
"extra": {
|
||||
|
||||
@@ -12,7 +12,7 @@ use Modules\Warehouse\app\Models\Warehouse;
|
||||
|
||||
trait InteractsWithWmsData
|
||||
{
|
||||
protected string $browserPassword = 'Password1!';
|
||||
protected string $browserPassword = '987400Kmh';
|
||||
|
||||
protected function platformAdminUser(array $overrides = []): User
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user