Support the ongoing development of Laravel.io →

638 Threads

Testing friendly error messages on soft deletion failure

I'm testing that if there was a database error on delete that a friendly message is passed to the us...

0 Likes
0 Replies

QA Process for tickets

Hey guys, I'm curious about your company's approach to QA tickets, how typically is handled? Any ins...

0 Likes
1 Replies

partialMock of Facade does not set the dependencies

See Github issue #48248 for all information Hi all! When writing tests for a rate-limited endpoint...

0 Likes
2 Replies

laravel + sanctum, SPA authentication and testing it

Hello everyone. I'm trying to make a small SPA using vue.js and laravel sanctum. I did everything ac...

0 Likes
0 Replies

Run tests in parallel with Postgres and Elastic

Hi, I have a web application for which I am trying to setup parallel testing. The project has 2 data...

0 Likes
2 Replies

Making a test for the “string” validation in Laravel

When thinking about the purpose of the “string” validation, I immediately think about how html forms...

0 Likes
1 Replies
Solved

Accessing Factories from within a related Factory

Heyho, I have a testing situation, where I have users in different steps of a process and multiple m...

0 Likes
0 Replies

Empty providers for Faker with `php artisan test`

I'm trying to use Faker for unit testing. Faker fails to generate random data for the model instance...

0 Likes
2 Replies
Solved

Tests sometimes fail running php artisan test --parallel

The application I'm working on has ~ 2.000 feature tests. Running php artisan test takes about ten m...

jeremy379 liked this thread

1 Likes
0 Replies

Parallel testing issue with PHP 8.1 in Sail

I have an interesting issue with my Laravel 8 project. I have a number of unit tests setup. When I r...

0 Likes
0 Replies

Running Laravel Dusk In Vagrant - Operation timed out

Hi everyone, I'm using a vagrant box (not homestead) to host our laravel project. I'm trying to use...

0 Likes
0 Replies
posted 3 years ago

Hosting Laravel website

Hello, I am new to web development. I am fresher and Laravel trainee. I just build the demo website...

0 Likes
1 Replies

how to integrate Trackingmore API in laravel

Hello , i'm wondering how i can add trackingmore api in my laravel project in order to track parcels...

codeexe1596 liked this thread

1 Likes
1 Replies

Make real HTTP requests in the testing environment

Hi, I'm working on the integration of Blackfire performance tests within our Laravel integration tes...

0 Likes
0 Replies

[Laravel 6.20] - Issue trying to assert Response structur

Laravel Version: 6.20.30 PHP Version: 7.2.8 Database Driver & Version: Mysql 5.7 Description:...

0 Likes
0 Replies

Method is not supported on HTTP Test API

I'am trying to test my login API with TestCase. The dump of response of PHPunit is: R{#1553 +"t...

0 Likes
3 Replies

Is there a sexyer way to write this code? (Laravel/Scout)

Hi everyone, name is Lucas, first post here and I'm learning Laravel and loving it. I'm working in a...

isaacongoma liked this thread

1 Likes
1 Replies

How to code for validating multiple data with similar parame

These are my API https://stackoverflow.com/questions/66469599/how-to-code-for-validating-multiple-da...

0 Likes
0 Replies

Passport test logout after actingAs

How can I test logout using passport after actingAs? Token revoke doesn't seem to work

0 Likes
0 Replies

assertSee failing when searching for text on datatable

Dusk Version: 6.4 Laravel Version: 6.2 PHP Version: 7.3 Database Driver & Version: mysql Ver...

s-dickson liked this thread

1 Likes
0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.