fix(certificates): replace ISO 9001 and 14001 certificates with 2026 renewal
The renewed certificates from Zertifizierung Bau GmbH (issued 30.11.2026) are valid from 06.12.2026 to 05.12.2029. Replace both PDFs and update the validity dates in the DE component and the EN content. The test now checks the new period for both certificates. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -31,14 +31,14 @@ export const defaultCertificates: Certificate[] = [
|
||||
description: 'Umweltmanagementsystem',
|
||||
pdfUrl: '/assets/certificates/iso14001.pdf',
|
||||
type: 'iso',
|
||||
date: '06.12.2023 – 05.12.2026',
|
||||
date: '06.12.2026 – 05.12.2029',
|
||||
},
|
||||
{
|
||||
title: 'ISO 9001:2015',
|
||||
description: 'Qualitätsmanagementsystem',
|
||||
pdfUrl: '/assets/certificates/iso9001.pdf',
|
||||
type: 'iso',
|
||||
date: '06.12.2023 – 05.12.2026',
|
||||
date: '06.12.2026 – 05.12.2029',
|
||||
},
|
||||
{
|
||||
title: 'DIN EN ISO 45001:2018',
|
||||
|
||||
@@ -23,14 +23,14 @@ layout: "fullBleed"
|
||||
description: 'Environmental Management System',
|
||||
pdfUrl: '/assets/certificates/iso14001.pdf',
|
||||
type: 'iso',
|
||||
date: '06.12.2023 – 05.12.2026',
|
||||
date: '06.12.2026 – 05.12.2029',
|
||||
},
|
||||
{
|
||||
title: 'ISO 9001:2015',
|
||||
description: 'Quality Management System',
|
||||
pdfUrl: '/assets/certificates/iso9001.pdf',
|
||||
type: 'iso',
|
||||
date: '06.12.2023 – 05.12.2026',
|
||||
date: '06.12.2026 – 05.12.2029',
|
||||
},
|
||||
{
|
||||
title: 'DIN EN ISO 45001:2018',
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -21,6 +21,16 @@ describe('Certificates & Insurance Integration (DE + EN)', () => {
|
||||
expect(enMdx).toContain("date: '25.03.2026'");
|
||||
});
|
||||
|
||||
it('lists the renewed ISO 9001 and ISO 14001 certificates with their validity period (DE)', () => {
|
||||
const isoCerts = defaultCertificates.filter((cert) =>
|
||||
['ISO 9001:2015', 'ISO 14001:2015'].includes(cert.title)
|
||||
);
|
||||
expect(isoCerts).toHaveLength(2);
|
||||
for (const cert of isoCerts) {
|
||||
expect(cert.date).toBe('06.12.2026 – 05.12.2029');
|
||||
}
|
||||
});
|
||||
|
||||
it('verifies that the PDF asset exists in public/assets/certificates/betriebshaftpflicht.pdf', () => {
|
||||
const filePath = path.join(__dirname, '../public/assets/certificates/betriebshaftpflicht.pdf');
|
||||
expect(fs.existsSync(filePath)).toBe(true);
|
||||
|
||||
Reference in New Issue
Block a user