public function test_delete_category() { $this->test_create_category(); $category = Category::firstOrFail(); $this->delete(route('inquiries.categories.destroy', [$category->id])); $this->dontSeeInDatabase('categories', ['id' => $category->id]); }