Assign the existing site to one landlord so stommer.info can run tenancy.

Seebad 0.3 stays in this release. With a single landlord every host still reaches the default website.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-10-23 12:00:11 +02:00
1 parent d9e52c4789
commit 8ebc1a3878
93 files changed
+2506 -112

No files matched your search

+3
View File
@@ -8,6 +8,7 @@
use App\Models\Property;
use App\Models\Season;
use App\Models\SpecialOffer;
use App\Models\Tenant;
use App\Pricing\AdvertisedOffer;
use App\Pricing\OfferShowcase;
use Carbon\CarbonImmutable;
@@ -105,7 +106,9 @@ public function test_gap_below_minimum_stay_is_not_advertised_unless_the_offer_w
public function test_offers_section_shows_the_advertised_offers_on_the_website(): void
{
$this->travelTo($this->now);
$unusedLandlord = $this->property->tenant_id;
$this->property->delete();
Tenant::query()->whereKey($unusedLandlord)->delete();
$this->seed([PropertySeeder::class, SiteSeeder::class]);
SpecialOffer::factory()->for(Property::query()->sole())->create(['name' => 'Ab 3 Nächten −10 %', 'min_nights' => 3, 'discount_value' => 10]);