skip to Main Content

Laravel parallel test cant create the database

I am trying to run laravel feature tests in parallel mode as it is in document. My phpunit.xml is configed as below : <php> <env name="APP_ENV" value="testing"/> <env name="BCRYPT_ROUNDS" value="4"/> <env name="CACHE_DRIVER" value="array"/> <env name="SESSION_DRIVER" value="array"/> <env name="QUEUE_DRIVER" value="sync"/> <env…

VIEW QUESTION

Laravel Route Can Not Find By Route Name

This is My Route Route::namespace("CoreControllerSite") ->prefix("/") ->name("site.") ->group(function () { Route::get("{slug}", "NewsController@index")->name("news.index"); Route::get("show/{slug}", "NewsController@show")->name("news.show"); Route::get("{slug}", "ArticleController@index")->name("article.index"); Route::get("show/{slug}", "ArticleController@show")->name("article.show"); Route::get("{slug}", "VideoController@index")->name("video.index"); }); This is My a href which is I used This Route <a href="{{ route('site.news.show', $item->slug) }}"></a> It gives Such…

VIEW QUESTION

The POST method is not supported for this route. Supported methods: GET, HEAD. + Laravel

I am trying to update . I am getting the error The POST method is not supported for this route. Supported methods: GET, HEAD. Following are the code In Route Route::post('editcountries','AppHttpControllersbackendadmineditcountryController@editcountries'); In Controller function editcountries(Request $request) { $country_en = $request->input('country_en');…

VIEW QUESTION
Back To Top
Search