Unit test laravel
Добрый день нужна помощь в нахождении ошибки
юнит тест на проверку доступа страницы для неавторизованных пользователей
$response = $this->get(route('objects.create'));
$response->assertRedirect(route('login'));в конструкторе котроллера прописано
public function __construct()
{
$this->middleware('auth')->except(['index', 'show']);
}
в web.php путь также указан с мидлваром
но при тесте страница все равно полностью загружается с 200 ОК
кеш и тд чистилось
предлагайте цену
заранее спасибо
Current freelance projects in the category PHP
Development of 2 SEO-oriented websites for selling spare parts (ATVs and special equipment)Development of Two Specialized Websites for Selling Spare PartsGeneral Information It is necessary to develop two specialized websites: Spare parts for ATVs, UTVs, SSVs, and other similar equipment. Spare parts for special equipment. Existing company website:… PHP, Web Programming ∙ 7 hours 3 minutes back ∙ 38 proposals |
Improvement of the Bropack website on WordPress (layout adjustments, form settings, and SEO)Task Description:We are looking for an experienced WordPress developer/front-end developer to promptly complete the project https://bropack.com.ua/. The site has already been designed and set up on WordPress, but due to the previous contractor missing deadlines, it is necessary… HTML & CSS, PHP ∙ 8 hours 10 minutes back ∙ 23 proposals |
Looking for a white-label solution for a betting company for rent. |
Development of a WordPress website
23 USD
We are looking for a contractor to develop a custom website on WordPress for a jewelry store. The first stage will be a consultation. Content Management Systems, PHP ∙ 2 days 22 hours back ∙ 67 proposals |
The WooCommerce cart (WordPress) is broken — it does not add products and the cart page does not open.On the website of the online store https://www.dobryi-gospodar.com/ (WordPress + WooCommerce), the checkout function has completely stopped working. When clicking the "Add to cart" button (both in the product card and in the catalog), a long loading process begins (the indicator… Content Management Systems, PHP ∙ 3 days back ∙ 60 proposals |