We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c50b80 commit d9414deCopy full SHA for d9414de
__tests__/redirects.ts
@@ -46,15 +46,12 @@ test('de.serlo.org/datenschutz', async () => {
46
})
47
48
describe('Imprint', () => {
49
- test.each(['/impressum', '/imprint', '/legal'])(
50
- 'de.serlo.org%s',
51
- async (pathname) => {
52
- const response = await env.fetch({ subdomain: 'de', pathname })
+ test.each(['/impressum', '/imprint'])('de.serlo.org%s', async (pathname) => {
+ const response = await env.fetch({ subdomain: 'de', pathname })
53
54
- const target = 'https://chancenwerk.de/impressum/'
55
- expectToBeRedirectTo(response, target, 302)
56
- },
57
- )
+ const target = 'https://de.serlo.org/legal'
+ expectToBeRedirectTo(response, target, 301)
+ })
58
59
60
test('de.serlo.org/nutzungsbedingungen ', async () => {
0 commit comments