Commit Graph
3 Commits
Author SHA1 Message Date
LarsandClaude Sonnet 5.5 cce22ebd81 Passe Tests an die abgeleitete Produktseite und den Kaufpreis als Pflicht an
CI Feature / test (push) Successful in 5m15s
Deploy Test / test (push) Successful in 5m20s
Deploy Test / deploy (push) Successful in 31s
CatalogRulesTest: Angebote ohne Preis und Vergabe nutzten den Standard „Kauf“; sie geben jetzt
Preis oder die Vergabe „auf Abruf“ an, weil ein Kauf ohne Preis nicht aktiviert wird (ADR-52).
CartTest, OfferOptionAdminTest: Die Seite einer Option kommt aus ProductOptions::pageUrl; die
Auswahl „Produktseite“ gibt es nicht mehr. Keine Assertion wurde abgeschwächt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 18:07:55 +01:00
LarsandClaude Sonnet 5.5 08f7d0c63d Mache den Lizenzartikel zur Produktseite und leite die Seite aus dem Angebot ab
CI Feature / test (push) Failing after 3m16s
Die Produktseite ist die Seite des Artikels (/shop/{id}), den die Option als einzige
Position verkauft, oder die Paketseite. Sie wird nicht mehr einem Programm zugeordnet.
Ein Kauf braucht genau eine Position und einen Preis, sonst lässt er sich nicht aktivieren.
Module und Programme werden dadurch nicht öffentlich (Karten und /programme unverändert).

Tests: Die Tests, die eine Programmseite als Produktseite voraussetzten, prüfen jetzt die
Artikelseite; die Zuordnung „eigene Paketseite oder Programmseite“ entfällt (ADR-52).
Ein Altbestandstest sichert die Programmseite für Angebote mit mehreren Positionen.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 17:39:20 +01:00
Lars 4e0760db1e Add feature tests for shop functionality and organization purchases
Deploy Test / test (push) Successful in 1m38s
Deploy Test / deploy (push) Successful in 31s
- Implement OfferOptionAdminTest to validate offer option management, including price display, activation, and cancellation.
- Create OrganizationPurchaseTest to ensure correct handling of organization purchases, including access control and order processing.
- Add ShopProductPageTest to verify shop product listings, search functionality, and product page details.
- Introduce BuildsShop trait for seeding test data related to shop functionality.
- Implement MoneyTest to validate money parsing and formatting, ensuring correct handling of euro amounts.
2026-11-21 12:06:24 +01:00