Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fb19425ddf | ||
|
|
3443170e22 |
@@ -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',
|
||||
|
||||
@@ -20,7 +20,6 @@ layout: "fullBleed"
|
||||
showFairs={true}
|
||||
showJobs={false}
|
||||
fairs={[
|
||||
{ name: 'Werkstatt Kabel 2026', date: '24. - 25. November 2026', type: 'Fachtagung', location: 'Wiesbaden', url: 'https://werkstatt-kabel.essociation.de/' },
|
||||
{ name: 'Intersolar', date: '8. - 10. Juni 2027', type: 'Messe', location: 'München', url: 'https://www.intersolar.de/' },
|
||||
{ name: 'Windenergietage', date: '09. - 11. November 2027', type: 'Fachkongress', location: 'Potsdam', url: 'https://www.windenergietage.de/' }
|
||||
]}
|
||||
|
||||
@@ -20,7 +20,6 @@ layout: "fullBleed"
|
||||
showFairs={true}
|
||||
showJobs={false}
|
||||
fairs={[
|
||||
{ name: 'Werkstatt Kabel 2026', date: 'November 24–25, 2026', type: 'Symposium', location: 'Wiesbaden', url: 'https://werkstatt-kabel.essociation.de/' },
|
||||
{ name: 'Intersolar', date: 'June 8–10, 2027', type: 'Fair', location: 'Munich', url: 'https://www.intersolar.de/' },
|
||||
{ name: 'Wind Energy Days', date: 'November 9–11, 2027', type: 'Specialist Congress', location: 'Potsdam', url: 'https://www.windenergietage.de/' }
|
||||
]}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -6,23 +6,20 @@ describe('Messen Content and Translations', () => {
|
||||
const deMessenPath = path.join(process.cwd(), 'content', 'de', 'messen.mdx');
|
||||
const enMessenPath = path.join(process.cwd(), 'content', 'en', 'messen.mdx');
|
||||
|
||||
it('should have updated German trade fair dates and names for 2026', () => {
|
||||
it('should list the current German trade fairs for 2027', () => {
|
||||
const content = fs.readFileSync(deMessenPath, 'utf8');
|
||||
|
||||
// Werkstatt Kabel is no longer held (not in 2027)
|
||||
expect(content).not.toContain("Werkstatt Kabel");
|
||||
expect(content).not.toContain("Kabel-Workshop");
|
||||
|
||||
// 1. Intersolar München
|
||||
expect(content).toContain("name: 'Intersolar'");
|
||||
expect(content).toContain("date: '8. - 10. Juni 2027'");
|
||||
expect(content).toContain("type: 'Messe'");
|
||||
expect(content).toContain("location: 'München'");
|
||||
|
||||
// 2. Werkstatt Kabel 2026 (No "Kabel-Workshop")
|
||||
expect(content).not.toContain("Kabel-Workshop");
|
||||
expect(content).toContain("name: 'Werkstatt Kabel 2026'");
|
||||
expect(content).toContain("date: '24. - 25. November 2026'");
|
||||
expect(content).toContain("type: 'Fachtagung'");
|
||||
expect(content).toContain("location: 'Wiesbaden'");
|
||||
|
||||
// 3. Windenergietage Potsdam (replaces Linstow 2026)
|
||||
// 2. Windenergietage Potsdam (replaces Linstow 2026)
|
||||
expect(content).not.toContain("Linstow");
|
||||
expect(content).toContain("name: 'Windenergietage'");
|
||||
expect(content).toContain("date: '09. - 11. November 2027'");
|
||||
@@ -30,24 +27,21 @@ describe('Messen Content and Translations', () => {
|
||||
expect(content).toContain("location: 'Potsdam'");
|
||||
});
|
||||
|
||||
it('should have updated English trade fair dates and names for 2026', () => {
|
||||
it('should list the current English trade fairs for 2027', () => {
|
||||
const content = fs.readFileSync(enMessenPath, 'utf8');
|
||||
|
||||
// Werkstatt Kabel is no longer held (not in 2027)
|
||||
expect(content).not.toContain("Werkstatt Kabel");
|
||||
expect(content).not.toContain("Cable Workshop");
|
||||
expect(content).not.toContain("Kabel Workshop");
|
||||
|
||||
// 1. Intersolar Munich
|
||||
expect(content).toContain("name: 'Intersolar'");
|
||||
expect(content).toContain("date: 'June 8–10, 2027'");
|
||||
expect(content).toContain("type: 'Fair'");
|
||||
expect(content).toContain("location: 'Munich'");
|
||||
|
||||
// 2. Werkstatt Kabel 2026 (No "Cable Workshop" or "Kabel Workshop")
|
||||
expect(content).not.toContain("Cable Workshop");
|
||||
expect(content).not.toContain("Kabel Workshop");
|
||||
expect(content).toContain("name: 'Werkstatt Kabel 2026'");
|
||||
expect(content).toContain("date: 'November 24–25, 2026'");
|
||||
expect(content).toContain("type: 'Symposium'");
|
||||
expect(content).toContain("location: 'Wiesbaden'");
|
||||
|
||||
// 3. Wind Energy Days Potsdam (replaces Linstow 2026)
|
||||
// 2. Wind Energy Days Potsdam (replaces Linstow 2026)
|
||||
expect(content).not.toContain("Linstow");
|
||||
expect(content).toContain("name: 'Wind Energy Days'");
|
||||
expect(content).toContain("date: 'November 9–11, 2027'");
|
||||
|
||||
Reference in New Issue
Block a user