Browse AI Field GuideForum Podcast
All ThreadsLeaderboard
  1. Discussions

    1. Popular This Week
    2. Popular All Time
    3. Solved
    4. Unsolved
    5. No Replies Yet

javadihugo's avatar

Testing usage of string validation rule

My controller applies the string validation rule to name. test('name must be a string', function ($name) { $user = User::factory()->create(); $response = $this ->actingAs($user) ->post('/organizations', ['name' => $name]); $response->assertInvalid(['name' => 'The name field must be a string.']); })->with([ true, 1,

javadihugo's avatar
javadihugo's avatar javadihugo2yrs agoLaravel
8
1
Last reply by javadihugo 2yrs ago
sean_connell_93's avatar

High Memory usage when sending mails

Hi, I've an issue with one of our crons that wakes up once a day to send around 2000 to 6000 emails. We've started to run into an issue with the memory maxing out. E.g (Fatal error: Allowed memory size of X bytes exhausted (tried to allocate X bytes)) I've narrowed down the issue to the Mail::send() method and had recorded the amount of memory it was using before and after send

sean_connell_93's avatar
sean_connell_93's avatar click2yrs agoLaravel
1
1
Last reply by click 2yrs ago
vincent15000's avatar

TDD vs BDD vs DDD

Hello, I'm trying to understand the differences between TDD, BDD and DDD. Hmmm ... if I have to test that an admin can suspend a member's account. public function an_admin_can_suspend_a_members_account() { // } According to me this test is a TDD AND a BDD. TDD is how I code : I write the test first and then I write the code to satisfy the test BDD is how I write the test

vincent15000's avatar
vincent15000's avatar LaryAI2yrs agoTesting
1
3
Last reply by LaryAI 2yrs ago
Ligonsker's avatar

Connection could not be established with host when trying to send mail using SMTP

Hi, I am trying to send mails using the test SMTP of the company. In the test server - it works and mails are sent. On the local PC, it fails with the following: Unable to connect to smtp.company.com:20 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to r

Ligonsker's avatar
Ligonsker's avatar Ligonsker2yrs agoCode Review
3
1
Last reply by Ligonsker 2yrs ago
dannas's avatar

Data model values with old values

Hello everyone. I've uploaded my Laravel application to the Internet and I'm facing a strange problem. When I update the tables from my blade, I immediately see the updated records in the database. Trying to understand the problem, it seems as if the data is not being returned to me at all. public function edit(fgasProcedure $fgasProcedure) { $block1 = fgasProcBlock1::findOrFai

dannas's avatar
dannas's avatar axiojet2yrs agoLaravel
2
1
Last reply by axiojet 2yrs ago
normykinz's avatar

Many to Many Relationship Confusion.

I've been using Laravel since v5 but for some odd reason Eloquent relationships make my brain turn to mush. Help me out here peeps. I have groups and users. A group can have many users and a user can have many groups. To help me out I created a pivot model defined like this ... <?php namespace App\Models; use App\Enums\Group\GroupUserRole; use Illuminate\Database\Eloquent\

normykinz's avatar
normykinz's avatar amitsolank...2yrs agoLaravel
4
1
Last reply by amitsolanki24_ 2yrs ago
nyrsimon's avatar

axios post hanging

OK I am literally pulling my hair out! I have a Laravel backend and am making some calls from Vue to it using axios. In this case a POST I'm building some tests (using vitest) and for some reason if I make the call using axios.post/then/catch it works fine. If I use await axios.post it hangs. The code is below. I have tried everything I can think of. Interestingly if I use som

nyrsimon's avatar
nyrsimon's avatar nyrsimon2yrs agoVue
4
1
Last reply by nyrsimon 2yrs ago
EricDz's avatar

Queued Jobs "ShouldBeUnique" Should Actually Be Unique But At Times Isn't

Hi all, I was wondering if anyone has encountered this. We're using queued jobs pretty heavily within our application and I've been making use of the "ShouldBeUnique" interface to prevent the same exact job from running concurrently. While investigating some things that should have happened but didn't (always fun), I noticed that in certain cases some jobs that sho

EricDz's avatar
EricDz's avatar EricDz2yrs agoLaravel
0
29
hagealex's avatar

Testing register page results in 403 status code

Hello everyone! I'm working with Laravel 10 and Backpack 6 and I'm new to unit testing. I wanted to start with some simple tests, just testing that specific pages can be visited. Like the start page, login, registration and so on. So far it works fine. But when I want to test to visit my register page my test fails because the response is a 403 status instead of 200. When I vi

hagealex's avatar
hagealex's avatar LaryAI2yrs agoTesting
1
1
Last reply by LaryAI 2yrs ago
murtaza1904's avatar

How to add prefix to URL in Pest Laravel

I want to add a dynamic prefix to the pest test as we do in Laravel like this Route::prefix(region()) ->resource('regions', RegionController::class) ->except('show') ->whereNumber('region'); Now similarly I want to add prefix to my test so that I can test the above route code. Here is something I want to achieve. I now that in withPrefix met

murtaza1904's avatar
murtaza1904's avatar murtaza190...2yrs agoLaravel
6
1
Last reply by murtaza1904 2yrs ago
butifarra's avatar

Livewire 3 project not working without deprecated @livewireStyles @livewireScripts old directives

Hi guys. I found something strange. I have a project with Laravel 3, that does not updates the input tag with the variable change. It works from the view to the component, but not the other way round. So, I did a project from scratch, for test purposes, with Laravel 11 and Livewire 3, and here comes the question. This new project didn't work, the updatedFoo event didn't fire. S

butifarra's avatar
butifarra's avatar butifarra2yrs agoLivewire
2
7
Last reply by butifarra 2yrs ago
Flex's avatar

how to fix ErrorException: Undefined array key &quot;name&quot in Laravel 10

working with Laravel 10 App and I have following RegisterController public function store(Request $request) { $input = $request->all(); User::create([ 'name' => $input['name'], // this is line 18 'email' => $input['email'], 'password' => Hash::make($input['password']) ]); return response()->json(['statu

Flex's avatar
Flex's avatar Flex2yrs agoLaravel
11
1
Last reply by Flex 2yrs ago
mahaguru24's avatar

PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: orders.reconciled

I am updating a legacy project from laravel9 to laravel 11. After updating laravel 10 to 11 i started getting below error in test cases. Caused by PDOException: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: orders.reconciled I have a schema dump for the sqlite. Here is a statement in the file CREATE TABLE orders (id INTEGER PRIMARY KEY AUTOINCR

mahaguru24's avatar
mahaguru24's avatar mahaguru242yrs agoLaravel
2
1
Last reply by mahaguru24 2yrs ago
vincent15000's avatar

How to seed the database once for all tests

Hello, Instead of seeding the database once for each test, I'd like to seed it only once for all tests. Where can I write the code to seed the database ? Thanks for your help. V

vincent15000's avatar
vincent15000's avatar nasirkhan2yrs agoTesting
5
1
Last reply by nasirkhan 2yrs ago
Ventor's avatar

Laravel searching for 'api_token' coloumn after installing Sanctum

Hi there, I've come back to a Laravel project of mine and wanted to add a REST-API. For that I decided to go with Laravel Sanctum, for ease of managing API tokens. I am running Laravel 11. I read the documentation and installed it, the new table with the access tokens got generated and I've provisioned users succesfully using my seeders. When I try to access a protected route n

Ventor's avatar
Ventor's avatar Ventor2yrs agoLaravel
2
1
Last reply by Ventor 2yrs ago
lukeboy_2002's avatar

...$data in [model]::create

Hi, I want to now what the differece is between $data = $request->validate([ 'body' => ['required', 'string', 'max:250']] ); [Model]::create([ ...$data, 'post_id' => $post->id, 'user_id' => $request->user()->id, ]) [Model]::create([ 'body' => $data, 'post_id' => $post->id, 'user_id' => $request->use

lukeboy_2002's avatar
lukeboy_2002's avatar LaryAI2yrs agoLaravel
1
1
Last reply by LaryAI 2yrs ago
Rretzko's avatar

Livewire validate fails on mime types with correct file

Hi - I'm trying to validate that an uploaded file is csv mime type on Livewire 3. When I upload a csv file, the validation fails. Any guidance is appreciated! Here's the livewire component: <?php namespace App\Livewire\Teachers\Schools; use Livewire\Component; use Livewire\WithFileUploads; class SchoolEnsembleStudentComponent extends Component { use WithFileUploads;

Rretzko's avatar
Rretzko's avatar Rretzko2yrs agoLivewire
5
6
Last reply by Rretzko 2yrs ago
Rretzko's avatar

Error on using Laravel Excel import:League\Flysystem\Filesystem::readStream(): Argument #1 ($location) must be of type string, null given

Hi - I appreciate any help in understanding why I'm getting the error "League\Flysystem\Filesystem::readStream(): Argument #1 ($location) must be of type string, null given" when doing a simple header + one row import. The calling function is: public function studentImport(Request $request) { $import = new StudentsImport($this->ensemble); //App

Rretzko's avatar
Rretzko's avatar Rretzko2yrs agoLaravel
3
1
Last reply by Rretzko 2yrs ago
digitalagua's avatar

Mock Laravel Cashier's checkout method on the Billable trait

In my API I am getting the checkout url from Stripe using Laravel 11 Cashier 15 and returning it to the front end to redirect the user. $response = $user->newSubscription($name, $price) ->trialUntil(Carbon::now()->addDays(7)->addMinutes(1)) ->allowPromotionCodes() ->checkout([ 'success_url' => $successUrl, 'cancel_url' => $cancelUrl, 'consent_co

digitalagua's avatar
digitalagua's avatar digitalagu...2yrs agoTesting
2
1
Last reply by digitalagua 2yrs ago
hadees-ahmed's avatar

Parallel Testing failing alot of tests

Hello everyone, I recently integrated parallel testing in my application using ParaTest, and I've encountered significant issues. When running tests in parallel, I'm facing numerous errors, and I'm uncertain about the cause. Initially, I used the MigrateFreshSeedOnce trait in my test cases, which, when removed, led to some improvements. However, approximately 50% of my tests ar

hadees-ahmed's avatar
hadees-ahmed's avatar hadees-ahm...2yrs agoLaravel
3
1
Last reply by hadees-ahmed 2yrs ago
Ankit1374's avatar

I was trying to implement CSP i.e style-src 'self' in Vue2 but facing a issue of unsafe inline

I was trying to create a page using Vue2 and laravel with CSP compliant but facing an error on unsafe inline my vue component is and my webpack is const mix = require('laravel-mix'); mix.webpackConfig({ resolve: { extensions: ['.js', '.jsx', '.vue'], }, module: { rules: [ { test: /.vue$/, // Apply this rule to .vue files loader: 'vue-loader', // Use vue-loader for Vue.js co

Ankit1374's avatar
Ankit1374's avatar gych2yrs agoVue
1
1
Last reply by gych 2yrs ago
kmnurunnabi's avatar

Sail Cannot be run on localhost

Hey there I was building laravel using sail. I set docker and everything I need to run on project. When I start sail using sail up -d command it's show started fine but I cannot see laravel application on localhost instead into docker log i see error: 024-03-23 15:47:11 2024-03-23 09:47:11,879 INFO Set uid to user 0 succeeded 2024-03-23 15:47:11 2024-03-23 09:47:11,914 INFO sup

kmnurunnabi's avatar
kmnurunnabi's avatar kmnurunnab...2yrs agoLaravel
13
7
Last reply by kmnurunnabi 2yrs ago
lbecket's avatar

Some Default Tests Failing

I've just spun up a new Laravel 11 project with Breeze and Sail. When I go into the Sail shell and run the default test suite that comes with a fresh installation, some tests pass and some fail. As best I can tell, the common thread among the failing tests is that they require an authenticated user. Seeing as I haven't altered these tests, I have to believe that I have a mis

lbecket's avatar
lbecket's avatar lbecket2yrs agoTesting
7
3
Last reply by lbecket 2yrs ago
nzogo's avatar

Package development

i am developing Auth package so i think of cloning the laravel ui package and add in the role and permission from spatie laravel permission package but when i create test to test the role creation it fails to run the migrations i get error "table not found" i don't know what am doing wrong since its my first time writing packages please help

nzogo's avatar
nzogo's avatar nzogo2yrs agoTesting
0
1
cash's avatar

Breeze + React + Vitest Problem

Hi everyone! I've come across very strange problem with vite, possibly due to configuration issues or something. I recreated the problem in this repo: https://github.com/lukasz-kapica/vitest-example It's a plain laravel new app + Breeze + React. Then one single React page component and a route to it (/brandnewpage). Then I've installed vitest $ npm install -D vitest and added o

cash's avatar
cash's avatar cash2yrs agoVite
2
1
Last reply by cash 2yrs ago
Chlouis's avatar

Pest global datasets not allowed in modular project ?

I'm working on a modular project (app\Modules\*MyModule*) and my pest tests are in app\Modules\*MyModule*\Tests\Feature. On Laravel 10.x and Pest 1.x with global datasets. Now i'm upgrading Pest on 2.x., and my global datasets (mostly different kind of users) are broken ! (tests\Datasets\Users.php) dataset('Super-administrator 2FA enabled', function () { return [ '

Chlouis's avatar
Chlouis's avatar Chlouis2yrs agoTesting
3
1
Last reply by Chlouis 2yrs ago
stevenc21's avatar

Cannot Fix This relationship?

I am messing up some sort relationship here. And I can't figure out why. I'm getting this error when I try the test below. I don't think it should be looking for this column in the asks table, but should instead be saving them in the Activity table. The activity table does have the right columns. Basically I have Events, which can have multiple types of different activities as

stevenc21's avatar
stevenc21's avatar tisuchi2yrs agoLaravel
2
1
Last reply by tisuchi 2yrs ago
adiputra22's avatar

Filament get attached model using `after` method

Hi there, I create model relation manager and I want to get model attached after user attach any model. public function table(Table $table): Table { $attachAction = Tables\Actions\AttachAction::make() ->preloadRecordSelect() ->before(function () { $outlet = $this->getTable(); Log::info('before test get

adiputra22's avatar
adiputra22's avatar Arthur-Zar...1yr agoFilament
3
1
Last reply by Arthur-Zaripov 1yr ago
Gonzalo2683's avatar

BadMethodCallException: Method Illuminate\Http\Response::assertSeeLivewire does not exist

Hello everyone, I'm working on a project using Laravel 11 and have opted to use Breeze for authentication management. Additionally, I'm using the Volt class API for some specific functionalities. Everything seems to work fine in the development environment; however, I'm encountering issues when running the default Breeze tests for authentication. The test <?php use App\Mode

Gonzalo2683's avatar
Gonzalo2683's avatar rabbott1yr agoLivewire
4
1
Last reply by rabbott 1yr ago
nurularifin's avatar

I got an error when l run PHP tests in a container

Hi everyone. Can anyone help please. I need help to solve this error /usr/local/bin/docker-php-entrypoint: 9: exec: ./vendor/bin/phpunit: not found. I got that error when I ran this code docker compose run --build --rm server ./vendor/bin/phpunit tests/HelloWorldTest.php on Terminal Visual Code. My goal is when l run that code the output should be like this: Hello, Docker!PHPUn

nurularifin's avatar
nurularifin's avatar nurularifi...2yrs agoPHP
2
1
Last reply by nurularifin 2yrs ago
TheUsernameHasAlreadyBeenTaken's avatar

Best approach for testable service layer

We're starting a project that's going to be really complex with a lot of routes and business logic. We don't want to use domain abstractions because nobody has experience using it, the risk is too high and the learning curve is steep. Is this a bad approach? We need to add some extra checks in some methods that are just safe checks but aren't part of the validation, or can be c

TheUsernameHasAlreadyBeenTaken's avatar
TheUsernameHasAlreadyBeenTaken's avatar martinbean2yrs agoLaravel
3
1
Last reply by martinbean 2yrs ago
hlipnick's avatar

Painfully Slow Interface with Filament/Livewire in Production

I've been building out v1 of my web app over the last six or seven weeks, hoping to do a small private test launch at the end of the month. The MVP isn't quite finished, but I wanted to start testing on a live server to work out any kinks. The site is build with Filament v3 and I've tried to be diligent about sticking to conventions and writing tests. All my tests pass both

hlipnick's avatar
hlipnick's avatar hlipnick2yrs agoLivewire
2
3
Last reply by hlipnick 2yrs ago
masonfox's avatar

Laravel Jetstream & Auth Tests Fail On Github Actions

Hello, I'm having some trouble getting a CI pipeline setup to run my test suite through Github Actions with Laravel Jetstream and basic authentication tests. All of my other tests, like Livewire components, work without an issue. I've using the base YAML that I've found on Github Actions for a Laravel app, but Feature tests from Laravel Jetstream and basic authentication ones (

masonfox's avatar
masonfox's avatar princejohn...2yrs agoTesting
8
13
Last reply by princejohnsantillan 2yrs ago
damms005's avatar

Failed to load assets in Sail

Assets are not loaded when running Dusk tests. test('homepage', function () { $student = addStudent(); $this->browse(function (Browser $browser) use ($student) { $browser->visit(route('homepage')) ->loginAs($student->userModel->id) ->storeConsoleLog('error-log') // --> debug purposes ->assertSee('Somet

damms005's avatar
damms005's avatar LaryAI2yrs agoLaravel
1
1
Last reply by LaryAI 2yrs ago
ahmeda's avatar

How to find the place of error in Laravel

How to find such an error where happened the large code base? { "class": "Illuminate\Database\QueryException", "message": "SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'phone' at row 1 (Connection: mysql, SQL: update `contacts` set `name` = test, `phone` = 999993992998997995996994989939933, `contacts`.`u

ahmeda's avatar
ahmeda's avatar cabsey2yrs agoLaravel
6
1
Last reply by cabsey 2yrs ago
shoaibali's avatar

Laravel socialite social login API for mobile application

Hi, I hope all members of this family having a great day. So i have created the Ecommerce website . .I have integrated the google social login with socialite plugin of laravel. Meanwhile we are developing the Mobile application for it. Can anybody here guide me how to create the API for it? I have created the logic for the API but on a callback Its getting into the web class ca

shoaibali's avatar
shoaibali's avatar shoaibali2yrs agoLaravel
0
1
vincent15000's avatar

Who can explain me the mocks ?

Hello, I don"t know why, but I have difficulties to understand what mocks are in a test context. Can somebody explain me ? Thanks a lot. V

vincent15000's avatar
vincent15000's avatar LaryAI2yrs agoTesting
1
1
Last reply by LaryAI 2yrs ago
bashiro's avatar

@vite(['resources/css/app.css', 'resources/js/app.js'])

Hello, Could anyone help me? I started using Laravel this year 2024 and I love it. I'm still taking courses, but recently I observed something strange. Whenever I create a breeze project and test the outcome, I get the following error: error at: @vite(['resources/css/app.css', 'resources/js/app.js']) I have tried to include bootstrap inclusion of vite but the problem doesn't go

bashiro's avatar
bashiro's avatar kamalhosse...1yr agoCode Review
27
1
Last reply by kamalhossen 1yr ago
lq003's avatar

How to go about seeding foreign keys?

Hello, I'm a complete beginner to Laravel and I'm attempting to use seeders to seed a database I'm using for a test project of an inventory management system. However, I run into issues when I attempt to seed tables that have foreign keys. I get errors such as: General error: 1364 Field 'category_id' doesn't have a default value" Of course, I get that this is because the k

lq003's avatar
lq003's avatar lq0032yrs agoLaravel
2
1
Last reply by lq003 2yrs ago
DanielRønfeldt's avatar

Error when trying to install Pest for Laravel 10

I've been following Christoph's indications in his Pest Driven Laravel tutorial https://laracasts.com/series/pest-driven-laravel/episodes/3?page=1 After installing the Pest framework and Pest's Laravel Plugin with Composer, I'm getting an error upon issuing the php artisan pest:install command: % php artisan pest:install ERROR Command "pest:install" is

DanielRønfeldt's avatar
DanielRønfeldt's avatar Ssionn2yrs agoTesting
4
35
Last reply by Ssionn 2yrs ago
Lozza's avatar

How to invoke a livewire method from javascipt?

Just so you know the reason, I've put the details in BACKSTORY below. What I need to do, is invoke my method in the livewire 3 component from javascript, rather than using Alpine, which is not working correctly for some reason. Code I have written is below and this is functioning exactly as I wish, in that the code is being invoked every time a click is made on a "live&quo

Lozza's avatar
Lozza's avatar Lozza2yrs agoLivewire
5
22
Last reply by Lozza 2yrs ago
tihoti's avatar

Cloud Run and Scheduler issue

I have a Laravel 10 application running on Google Cloud Run. I'm using Google Cloud Scheduler to trigger the scheduler by hitting the application with php artisan scheduler:run. Although it successfully hits the application, the scheduled tasks aren't being executed. Strangely, when I change the command to php artisan my-custom-command:test, it works fine. This issue has persis

tihoti's avatar
tihoti's avatar Excel-OTJ2yrs agoDevOps
4
5
Last reply by Excel-OTJ 2yrs ago
liggth's avatar

How to do assertJson validation on array elements that can sometimes be empty?

I have API response: [ { "title": "title", "gallery": [ { "src": "fsdg.jpg" } ] }, { "title": "title2", "gallery": null } ] In my test, I want to test each type of element. Here is my code: ->assertJson(fn (AssertableJson $json) =>

liggth's avatar
liggth's avatar liggth2yrs agoLaravel
0
1
nerginer's avatar

inertia post request problem

Hi, I am confused why I am getting this error. Appreciate for any help. Here is the reproducible code for the error. Frontend vuejs import { router } from '@inertiajs/vue3' function test() { router.post('/story-output', { 'title': "story title", 'story': "This is the story body", }, ) } Web.php Route::post('/story-output', [Stor

nerginer's avatar
nerginer's avatar nerginer2yrs agoInertia
4
1
Last reply by nerginer 2yrs ago
motinska94's avatar

I just got my first job offer as a laravel developer. And I'm having an impostor syndrome/crysis..

I have a grand total of 3 months of work experience. I was a jr-jr laravel dev back then and I knew pretty much nothing except connecting a route to a view through a controller. Nowadays I mainly work on my own projects and have some freelance gigs from time to time with Laravel. The thing is; I can build things. I am at a point where I can build pretty much anything there is t

motinska94's avatar
motinska94's avatar MAnasShako...2yrs agoGeneral
3
1
Last reply by MAnasShakoor 2yrs ago
unixlike's avatar

Testing a function returning an object which calls a function

Hello! I'm currently trying to test the below function. I'm able to mock the chargify class successfully, but the issue I'm facing is the call to subscription which returns an object with then calls the read function. How can I write a test for the call to subscription and the call to read when it's based on the returned object? Thanks! public function getChargifySubscription($

unixlike's avatar
unixlike's avatar LaryAI2yrs agoTesting
1
1
Last reply by LaryAI 2yrs ago
iWpress's avatar

How to speed up the loading speed of websites that use reCAPTCHA.

Hello everyone, In my project, I am using the josiasmontag/laravel-recaptchav3 package for reCAPTCHA validation. The package is nice, easy to set up and use. But there is one problem. It greatly reduces the page loading speed. The PageSpeed Insights test shows a decrease in speed from 97 to 51. He considers the main problem to be the loading of reCAPTCHA (recaptcha__en.js). Nat

iWpress's avatar
iWpress's avatar iWpress2yrs agoLaravel
7
1
Last reply by iWpress 2yrs ago
mahbubrn's avatar

how to catch seeder data from model when seeding

here is my seeding data - public function run(): void { $data = []; $data['name'] = 'test'; $data['email'] = '[email protected]'; $data['phone'] = 01929111222; \App\Models\User\User::create($data); } i want to catch the phone number from "User" model when this seeder will run. but i dont know how to do this. User model - (example) public

mahbubrn's avatar
mahbubrn's avatar tykus2yrs agoLaravel
1
1
Last reply by tykus 2yrs ago
FvsJson's avatar

Why does Laravel HTTP fake not work...??!!??!

I have a project im testing and its connection to Hubspot. I have a simple service that has one method that needs to create a user in hubspot. I create a pest unit test for it but http fake is not getting intercepting the request and i cant understand WHY?! :( Http::fake([ 'https://api.hubapi.com/crm/v3/objects/*' => Http::response( array(

FvsJson's avatar
FvsJson's avatar nexxai2yrs agoTesting
3
1
Last reply by nexxai 2yrs ago
dam28800's avatar

Create testing env sqlite

Hello, I want to create tests. My database is MySQL and I created a mysql-schema file. My test environment is sqlite. How to recreate my database in sqlite with the mysql schema file. When I run the tests it only shows me the latest migrations. Thank you in advance for your assistance

dam28800's avatar
dam28800's avatar tykus2yrs agoLaravel
1
1
Last reply by tykus 2yrs ago

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.