mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-28 07:43:18 +00:00
🗑️ Remove outdated migration files for einundzwanzig_plebs and pulse tables, restructure directory, and update testing suite with new factories and Livewire tests.
This commit is contained in:
26
database/factories/EinundzwanzigPlebFactory.php
Normal file
26
database/factories/EinundzwanzigPlebFactory.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\EinundzwanzigPleb>
|
||||
*/
|
||||
class EinundzwanzigPlebFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'pubkey' => $this->faker->sha256(),
|
||||
'npub' => $this->faker->word(),
|
||||
'email' => $this->faker->safeEmail(),
|
||||
'association_status' => \App\Enums\AssociationStatus::DEFAULT,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user