Support the ongoing development of →

629 Threads

19 Sep, 2019 at 01:18

Dusk directory vs phpunit

Hi, first time i try dusk. So i follow steps in documentation. After dusk installation, we see a new...

0 Likes 1 Replies

How to get the error description on file upload

UploadedFile {#576 ▼ -test: false -originalName: "rid_full.xlsx" -mimeType: "applicat...

0 Likes 0 Replies
2 Sep, 2019 at 08:21

dusk performances

Hi, I'm experiencing performance problems: I'm sure my test is very simple and fine, but it fails. P...

0 Likes 6 Replies

Cancel event before propagation

I'm using Laravel events for broadcasting to pusher package (I'm using Laravel websockets, so it's n...

0 Likes 0 Replies

How do I deploy the laravel web app to cpanel

I'm slightly new to laravel and managed to build a simple website using laravel. I tried to deploy t...

0 Likes 14 Replies

Test a command is queued

I have a command, which uses the queue method on the Artisan facade. Using the Bus/Queue fakers in a...

0 Likes 0 Replies

What's your experience been working with Laravel Shift?

Hi, I'm just keen to learn what experiences others have had working with Laravel Shift (laravelshift...

0 Likes 0 Replies

L5.8 assertSessionHasErrors() fails to assert false or true

Laravel Version: 5.8.* PHP Version: 7.1.19 Database Driver & Version: MySql 5.6.37 Description:...

0 Likes 0 Replies

How can I make a forum like this in Laravel?

Please help me. I have tthe auth system, the dashboard and more pages, but i need a forum. Please he...

0 Likes 4 Replies
1 Mar, 2019 at 03:07

Laravel testing issue

Hai am new in laravel testing .I have facing below issue Tests\Feature\ApiTest::testnewhistory Expe...

0 Likes 0 Replies

HELP ME PLEASE. APP_URL= not changing to my domain

Tests\Feature\ProjectsTest::test_a_user_can_create_a_project Symfony\Component\HttpKernel\Exception\...

0 Likes 0 Replies

Change test files directory in Dusk

Hi! I want to start using Laravel Dusk to my browser tests, but my test files are under resources/te...

0 Likes 3 Replies

Multi tenant and event projector integration

Dear, fellow artisan! I have some problem integrating hyn/multi-tenant and spatie/laravel-event-proj...

0 Likes 0 Replies

Too many connections

I have 170+ tests and after 152 i have error [1040] Too many connections In my tests i use DatabaseT...

0 Likes 2 Replies
15 Jun, 2018 at 11:40

Dusk tests failing on CircleCI, cant figure out why.

Hello! We have been using Dusk for browser testing for a while now and everything was fine so far. W...

0 Likes 0 Replies
21 May, 2018 at 10:16

Error : Class 'DB' not found in phpunit test for a Seeder

I am trying to create a unit test for my db seeder, which looks like this: <?php use Illuminate\...

0 Likes 1 Replies

Laravel Repository pattern

How to write unit test in laravel 5.6. I am using repository pattern. My app performsemphasized text...

0 Likes 1 Replies

Error while using factory in phpunit test classes

When I use Factories in a test class in phpunit, field value doesn't insert into database. It return...

0 Likes 1 Replies

Unit Testing Views?

So I've been going through a lot of the testing tutorials on the net, especially on LaraCast, and ha...

0 Likes 2 Replies

Testing GuzzleHttp requests

I have an artisan command that requests data from an external API and stores that information in my...

0 Likes 0 Replies

Thanks to our community

Solutions given in the past year.


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2021 - All rights reserved.