---
title: "Discussion on \"Accidentally deleting Laravel database when running tests? Here is what to do instead\" | Hashnode"
description: "Discussion on \"Accidentally deleting Laravel database when running tests? Here is what to do instead\". On 2024 April: updated to adapt Laravel 11"
url: "https://hashnode.com/posts/accidentally-deleting-laravel-database-when-running-tests-here-is-what-to-do-instead/65e41d9eb27c7e054cc4426e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Accidentally deleting Laravel database when running tests? Here is what to do instead](https://lukasnotes.dk/accidentally-deleting-laravel-database-when-running-tests-here-is-what-to-do-instead?utm_source=hashnode&utm_medium=feed)

On 2024 April: updated to adapt Laravel 11

Mar 3, 2024 · 2 min read · lukasnotes.dk  
Updated Apr 27, 2024  
Read the article

-   [#laravel](https://hashnode.com/tag/laravel)
-   [#phpunit](https://hashnode.com/tag/phpunit)

## Written by

[Lukas](https://hashnode.com/@flexchar)

@flexchar · Copenhagen, DK

  
[View profile](https://hashnode.com/@flexchar)

A developer you can trust.

I've discovered coding back in 2013 and three years later I spent all my summer building my first Laravel app which is still in production by the non-profit I've built for. Now I'm struggling to find the balance between enjoying the power of "I can build this myself" and not chocking myself to death trying to build everything myself. As it is common for developers to be less articulate, I decided to leverage writing about my endeavours, to keep me up.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
