Support the ongoing development of Laravel.io →

636 Threads

posted 5 years ago

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
posted 5 years ago

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

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

Cannot override model factories default

I can't workout why I cannot override the values specified in my ModelFactory.php file, from within...

0 Likes
6 Replies

[SOLVED]Adding Foreign Key :: Migrations

Before I start, I ask politely, that you forgive me as I struggle to put things into words. Sufferin...

0 Likes
2 Replies

Lumen 5.5 - Testing and mocking repositories

Hi all, I am having a hard time to test my rest api app, I think the main reason is because of https...

0 Likes
0 Replies
posted 10 years ago

TestCase tests unable to make multiple call()

I have a class that extends TestCase. I had a setUp() that was doing a $this->call(...) and then...

0 Likes
11 Replies

PHP God Game training

Hi guys I'm due to give a training on agile software development in PHP in a couple of weeks - not L...

0 Likes
1 Replies

Best option , Laravel Many to Many or Not

Hello guys , does some one could help me ? I am developing a real estate website , something like th...

0 Likes
2 Replies

Fake session object for dummy user

I want to create fake session for dummy user in Test

0 Likes
0 Replies

502 Bad Gateway

Hi Folks! I'm using Laravel Valet for the quick preview of my project. But now whenever I'm trying t...

0 Likes
1 Replies

unable to test filesystem temporaryUrl

Laravel Version: 5.5.11 PHP Version: 7.1 Database Driver & Version: MySQL Description: I have...

0 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.