From 4b6b355790b2c7a71d5399ff7c389d4dd81c1c0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Wed, 25 Oct 2017 14:42:17 +0200 Subject: [PATCH] test(integration): fix course urls to make integration tests work again --- test/integration/courses.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/courses.test.js b/test/integration/courses.test.js index ba61e42..db64590 100644 --- a/test/integration/courses.test.js +++ b/test/integration/courses.test.js @@ -11,7 +11,7 @@ describe('courses', () => { }) }) test('it should render a course', () => { - return request(app).get('/courses/headless-content-management-using-contentful') + return request(app).get('/courses/hello-world') .expect(200) .then((response) => { expect(response.text.match(/class="course__title"/)).toBeTruthy() @@ -22,7 +22,7 @@ describe('courses', () => { }) test('it should render a lesson', () => { - return request(app).get('/courses/headless-content-management-using-contentful/lessons/content-from-your-idea-to-any-display') + return request(app).get('/courses/hello-world/lessons/architecture-basics') .expect(200) .then((response) => { expect(response.text.match(/class="lesson__title"/)).toBeTruthy()