This aims to add failing test for https://github.com/laravel/octane/issues/809. To recap, the issue is when using Route::bind() and URL::defaults() with Octane, it seems that UrlGenerator keeps the same instance of RouteUrlGenerator, and so the defaults are cached between requests.
There is another problem in this test which I got Route [login] not defined. It doesn't really make sense to me since I put ->name('login') in route definition, but I might be wrong.
This aims to add failing test for https://github.com/laravel/octane/issues/809. To recap, the issue is when using Route::bind() and URL::defaults() with Octane, it seems that UrlGenerator keeps the same instance of RouteUrlGenerator, and so the defaults are cached between requests.
There is another problem in this test which I got
Route [login] not defined
. It doesn't really make sense to me since I put->name('login')
in route definition, but I might be wrong.Please let me know if you have any questions.