Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-christl committed Oct 13, 2022
1 parent 5a386b4 commit 9d721f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/cypress/integration/CourseManagement.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ describe('Course management', () => {
let courseId: number;

beforeEach(() => {
artemisRequests.courseManagement.createCourse(false, courseName, courseShortName).then((response: Cypress.Response<Course>) => {
artemisRequests.courseManagement.createCourse(false, courseName, courseShortName).should((response) => {
expect(response.status).to.equal(201);
course = response.body;
courseId = response.body!.id!;
expect(course).to.equal({}); // Force fail
});
});

Expand Down

0 comments on commit 9d721f7

Please sign in to comment.