Spoke-Frontend-Audit: Fake-Inhalte raus, Newsletter-Rueckbau, echte Boersendaten, EN-Lokalisierung
Frontend-Umbau (Kevin, 06.07.2026), Ergebnis des businessportal24-Audits: - Fake-Anzeigen und Mock-/Fallback-Daten entfernt (focus-ad, feed-ad, highlight-card, press-release-card, featured-releases, press-releases-grid); Sektionen rendern nur noch mit echten Daten oder gar nicht - Newsletter-Strip und Newsletter-Box zurueckgebaut (Feature nachgelagert, vor Reaktivierung DOI-Flow noetig) - Echte Boersendaten: MarketDataService (Yahoo-Finance-Quotes, config/market.php, Cache) + market:refresh alle 15 Min. im Scheduler; live-ticker blendet sich ohne Daten aus - EN-Lokalisierung der Kern-Seiten via lang/de/web.php + lang/en/web.php; Carbon-Locale folgt app()->getLocale() - Web-Tests auf den neuen Frontend-Stand nachgezogen (Suite: 993 gruen) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
5d199f0130
commit
b3474a36e9
67 changed files with 1735 additions and 1521 deletions
|
|
@ -23,6 +23,22 @@ test('both editions render the homepage', function () {
|
|||
$this->get('https://businessportal24.test/en')->assertSuccessful();
|
||||
});
|
||||
|
||||
test('the english edition renders a localized ui', function () {
|
||||
/** @var TestCase $this */
|
||||
$this->get('https://businessportal24.test/en')
|
||||
->assertSuccessful()
|
||||
->assertSeeText('Latest releases')
|
||||
->assertSeeText('Publish your press release')
|
||||
->assertSeeText('Our quality standard')
|
||||
->assertDontSeeText('Aktuelle Meldungen')
|
||||
->assertDontSeeText('Unser Qualitätsstandard');
|
||||
|
||||
$this->get('https://businessportal24.test/de')
|
||||
->assertSuccessful()
|
||||
->assertSeeText('Aktuelle Meldungen')
|
||||
->assertDontSeeText('Latest releases');
|
||||
});
|
||||
|
||||
test('an unsupported edition prefix returns 404', function () {
|
||||
/** @var TestCase $this */
|
||||
$this->get('https://businessportal24.test/fr')->assertNotFound();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue