Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fb19425ddf |
@@ -31,14 +31,14 @@ export const defaultCertificates: Certificate[] = [
|
|||||||
description: 'Umweltmanagementsystem',
|
description: 'Umweltmanagementsystem',
|
||||||
pdfUrl: '/assets/certificates/iso14001.pdf',
|
pdfUrl: '/assets/certificates/iso14001.pdf',
|
||||||
type: 'iso',
|
type: 'iso',
|
||||||
date: '06.12.2023 – 05.12.2026',
|
date: '06.12.2026 – 05.12.2029',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'ISO 9001:2015',
|
title: 'ISO 9001:2015',
|
||||||
description: 'Qualitätsmanagementsystem',
|
description: 'Qualitätsmanagementsystem',
|
||||||
pdfUrl: '/assets/certificates/iso9001.pdf',
|
pdfUrl: '/assets/certificates/iso9001.pdf',
|
||||||
type: 'iso',
|
type: 'iso',
|
||||||
date: '06.12.2023 – 05.12.2026',
|
date: '06.12.2026 – 05.12.2029',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'DIN EN ISO 45001:2018',
|
title: 'DIN EN ISO 45001:2018',
|
||||||
|
|||||||
@@ -23,14 +23,14 @@ layout: "fullBleed"
|
|||||||
description: 'Environmental Management System',
|
description: 'Environmental Management System',
|
||||||
pdfUrl: '/assets/certificates/iso14001.pdf',
|
pdfUrl: '/assets/certificates/iso14001.pdf',
|
||||||
type: 'iso',
|
type: 'iso',
|
||||||
date: '06.12.2023 – 05.12.2026',
|
date: '06.12.2026 – 05.12.2029',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'ISO 9001:2015',
|
title: 'ISO 9001:2015',
|
||||||
description: 'Quality Management System',
|
description: 'Quality Management System',
|
||||||
pdfUrl: '/assets/certificates/iso9001.pdf',
|
pdfUrl: '/assets/certificates/iso9001.pdf',
|
||||||
type: 'iso',
|
type: 'iso',
|
||||||
date: '06.12.2023 – 05.12.2026',
|
date: '06.12.2026 – 05.12.2029',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'DIN EN ISO 45001:2018',
|
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'");
|
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', () => {
|
it('verifies that the PDF asset exists in public/assets/certificates/betriebshaftpflicht.pdf', () => {
|
||||||
const filePath = path.join(__dirname, '../public/assets/certificates/betriebshaftpflicht.pdf');
|
const filePath = path.join(__dirname, '../public/assets/certificates/betriebshaftpflicht.pdf');
|
||||||
expect(fs.existsSync(filePath)).toBe(true);
|
expect(fs.existsSync(filePath)).toBe(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user