View all tags.
Articles tagged with laravel
Using the appropriate Laravel assertions to test HTML
I’ve stopped using assertSee in my Laravel tests because it’s a trap (unrelated: I once owned this domain). Instead, I reach for assertSeeText and assertSeeHtml.
Seeding a MySQL 8 table with geographic coordinates using Laravel
Today I learned that MySQL 8 has column types to store geographic coordinates, the simplest of them probably being POINT. It’s less straightforward than what I expected, so here’s how I managed to seed my database using Laravel.