Skip to content

Instantly share code, notes, and snippets.

@dinocajic
Created October 19, 2020 15:00
<?php
use App\Models\User;
public function testDatabase()
{
$user = User::factory()->make();
// Use model in tests...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment