mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-13 23:56:47 +00:00
🛠️ Refactor service components: Add dynamic type filters, restructure landing page UI, and introduce ServiceForm for improved form handling and validations
This commit is contained in:
@@ -15,8 +15,11 @@ it('creates a self hosted service', function () {
|
||||
->set('name', 'My Node')
|
||||
->set('type', SelfHostedServiceType::Mempool->value)
|
||||
->set('url_clearnet', 'https://example.com')
|
||||
->set('contact_url', 'https://contact.example.com')
|
||||
->set('contact', ['url' => 'https://contact.example.com'])
|
||||
->call('save');
|
||||
|
||||
expect(SelfHostedService::where('name', 'My Node')->exists())->toBeTrue();
|
||||
|
||||
$service = SelfHostedService::where('name', 'My Node')->first();
|
||||
expect($service->getFirstMedia('logo'))->toBeNull();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user