Passe Tests an die abgeleitete Produktseite und den Kaufpreis als Pflicht an
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>
This commit is contained in:
1 parent
08f7d0c63d
commit
cce22ebd81
3 files changed
+10
-5
No files matched your search
@@ -187,6 +187,7 @@ public function test_h_a_bundle_change_does_not_change_an_activated_offer(): voi
|
||||
$offer = app(OfferService::class)->activate(
|
||||
app(OfferService::class)->create('Programmangebot'),
|
||||
[['target' => $published, 'rights' => $rights]],
|
||||
['grant_kind' => 'kauf', 'price_cents' => 1000],
|
||||
);
|
||||
|
||||
$bundles->publish($bundle, [$first, $second]);
|
||||
@@ -213,6 +214,7 @@ public function test_publication_records_impact_and_withdrawal_restores_the_prev
|
||||
app(OfferService::class)->activate(
|
||||
app(OfferService::class)->create('Blattangebot'),
|
||||
[['target' => $article, 'rights' => $rights]],
|
||||
['grant_kind' => 'kauf', 'price_cents' => 1000],
|
||||
);
|
||||
$party = Party::query()->create([
|
||||
'type' => PartyType::Person,
|
||||
@@ -265,7 +267,7 @@ public function test_each_holder_gets_an_own_acquisition_and_one_grant_per_artic
|
||||
$offer = app(OfferService::class)->create('Kostenlos');
|
||||
app(OfferService::class)->activate($offer, [
|
||||
['target' => $article, 'rights' => $rights],
|
||||
]);
|
||||
], ['grant_kind' => 'auf_abruf']);
|
||||
|
||||
$acquisitions = [];
|
||||
|
||||
|
||||
Reference in new issue
Block a user