Hosting-Abo: Preis 15 € -> 20 € pro Monat (Vertragsbedingungen v4, Katalog, Leitfaden)
- server/config.js: amountCents 2000, lookup_key webklar_hosting_monatlich_2000 - ensurePrice haengt einen neuen Preis an das vorhandene Stripe-Produkt (metadata.webklar), statt ein zweites "WEBklar Hosting-Abo" anzulegen - abo-bedingungen.html (Uebersicht, Preise, Leistungsbeschreibung) + PDF, Leitfaden + PDF - Tests auf 20 € umgestellt (399/399) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
78b4d7b7fe
commit
e4efdac226
18 files changed
+79
-59
No files matched your search
@@ -62,7 +62,7 @@ test('Widerrufsbelehrung und Muster-Widerrufsformular wortgleich mit Fassung 3',
|
||||
|
||||
test('Fassung 4: beide Abos, Postfächer, Zusatzspeicher, Wechsel', () => {
|
||||
const v4html = read(V4), v4 = strip(v4html)
|
||||
for (const s of ['15,00 €', '50,00 €', 'beliebig viele Postfächer', 'zusammen 5 GB', '1,00 €', 'Zusatzspeicher',
|
||||
for (const s of ['20,00 €', '50,00 €', 'beliebig viele Postfächer', 'zusammen 5 GB', '1,00 €', 'Zusatzspeicher',
|
||||
'12 Monate', 'statische', 'Hetzner', '§ 19 UStG', 'Leistungsbeschreibung A', 'Leistungsbeschreibung B',
|
||||
'„Zahlungspflichtig bestellen“', '„Verträge hier kündigen“', '„Nur den E-Mail-Zusatzspeicher“', '„Speichern“',
|
||||
'Vertragsbedingungen für die WEBklar-Abos']) assert.ok(v4.includes(s), s)
|
||||
@@ -412,7 +412,7 @@ test('Übernahmegutschrift und Leitfaden: produktneutral', () => {
|
||||
// Leitfaden: beide Preise mit § 19 UStG, Zusatzspeicher, Wechsel, Gutschrift für beide Abos, Bestellweg „Verträge“
|
||||
const lfText = strip(lf)
|
||||
for (const s of ['zusammen 5 GB', 'Zusatzspeicher', 'Wechsel', 'Übernahmegutschrift', 'beiden Abos', '„Verträge“']) assert.ok(lfText.includes(s), s)
|
||||
for (const preis of ['15,00 €', '50,00 €', '1,00 €']) {
|
||||
for (const preis of ['20,00 €', '50,00 €', '1,00 €']) {
|
||||
const i = lfText.indexOf(preis)
|
||||
assert.ok(i >= 0, preis)
|
||||
assert.ok(lfText.slice(i, i + 80).includes('§ 19 UStG'), `${preis} ohne § 19 UStG`)
|
||||
|
||||
Reference in new issue
Block a user