Kész tesztelés

This commit is contained in:
Sándor Máté Magony
2025-05-02 16:57:39 +02:00
parent aac71b9c74
commit 7b3467ee70
8 changed files with 215 additions and 23 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\WcAdatok>
*/
class WcAdatokFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition()
{
return [
'nev' => $this->faker->name(),
'kerulet_id' => 1,
'kozeli_megall' => $this->faker->text(),
'akadalym' => false,
'ar' => 200,
'nyitva' => '0:00 - 24:00',
'hossz_koord' => 47.4979,
'szel_koord' => 19.0402,
'utvonal' => 'maps.google.com',
'felhasznalo_id' => 1
];
}
}