Skip to content

Commit 057b498

Browse files
committed
feat: public log viewer asset in composer to fix test, also change db name in phpunit
1 parent 1f97fed commit 057b498

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

cineboo-api/composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@
5454
"@php artisan ide-helper:models --write-mixin"
5555
],
5656
"post-update-cmd": [
57-
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
57+
"@php artisan vendor:publish --tag=laravel-assets --ansi --force",
58+
"@php artisan vendor:publish --tag=log-viewer-assets --ansi --force"
5859
],
5960
"post-root-package-install": [
6061
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""

cineboo-api/phpstan.neon

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
includes:
22
- vendor/larastan/larastan/extension.neon
3+
- vendor/nesbot/carbon/extension.neon
4+
- phar://phpstan.phar/conf/bleedingEdge.neon
35

46
parameters:
57
paths:
@@ -12,3 +14,5 @@ parameters:
1214
- .phpstorm.meta.php
1315
ignoreErrors:
1416
- '#PHPDoc tag @mixin contains unknown class App\\Models#'
17+
- '#Call to an undefined method .*badMethod\(\)#'
18+

cineboo-api/phpunit.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<env name="APP_MAINTENANCE_DRIVER" value="file"/>
4545
<env name="BCRYPT_ROUNDS" value="4"/>
4646
<env name="CACHE_STORE" value="array"/>
47-
<env name="DB_DATABASE" value="testing"/>
47+
<env name="DB_DATABASE" value="cineboo_test_db"/>
4848
<env name="MAIL_MAILER" value="array"/>
4949
<env name="PULSE_ENABLED" value="false"/>
5050
<env name="QUEUE_CONNECTION" value="sync"/>

0 commit comments

Comments
 (0)