نام شما:
دسته
php
Bootstrap
Javascript
عنوان
محتوا
I'm trying to test a middleware that uses the some config() values but it doesn't work. I'm getting Illuminate\Contracts\Container\BindingResolutionException: Target class [config] does not exist. This is not a new issue in the framework (https://github.com/laravel/framework/issues/9733) but I just can't get it to work and it was closed in an unsatisfactory manner. I've tried : Not using the config helper and instead using the Facade, but the facade root is not set in a testing environment. Using a new instance of the config repository itself but well... it's empty. Any ideas?
برچسب ها
php
soft delete
parameters
laravel
php
programming
ثبت
صفحه نخست