Immobilien site 11-05-2026

This commit is contained in:
Kevin Adametz 2026-05-11 10:29:37 +02:00
parent e198d842ce
commit 6799325f71
28 changed files with 16189 additions and 809 deletions

View file

@ -18,6 +18,13 @@ test('theme_image_url returns legacy path for slash-separated theme paths', func
expect($url)->toContain('img/assets/b2in/example.jpg');
});
test('theme_image_url returns public storage path for stored real estate images', function () {
expect(theme_image_url('immobile/dubai/azizi-ruby/overview-thumbnail/example.jpg'))
->toContain('storage/immobile/dubai/azizi-ruby/overview-thumbnail/example.jpg')
->and(theme_image_url('storage/immobile/dubai/azizi-ruby/overview-thumbnail/example.jpg'))
->toContain('storage/immobile/dubai/azizi-ruby/overview-thumbnail/example.jpg');
});
test('theme_image_url passes through absolute http urls', function () {
$url = theme_image_url('https://example.org/x.webp');