diff --git a/api/middleware/middleware.py b/api/middleware/middleware.py
index 9bb4e33c..5c1cd207 100644
--- a/api/middleware/middleware.py
+++ b/api/middleware/middleware.py
@@ -85,7 +85,6 @@ def __call__(self, request):
class DisableCSRFMiddleware(object):
-
def __init__(self, get_response):
self.get_response = get_response
diff --git a/frontend/frontend/cypress/e2e/teacher/course.cy.ts b/frontend/frontend/cypress/e2e/teacher/course.cy.ts
index f3390355..f5ffa689 100644
--- a/frontend/frontend/cypress/e2e/teacher/course.cy.ts
+++ b/frontend/frontend/cypress/e2e/teacher/course.cy.ts
@@ -8,14 +8,12 @@ describe('create and change a course', () => {
cy.get('#addCourse').click()
// fill in the fields
cy.get('#courseName').type('test course')
- cy.get('#uploadStudent').get('#email').type('student@testing.com')
- cy.get('#uploadStudent').get('#add').click()
cy.get('#save').click()
cy.get('#confirm').click()
// check if course was added
cy.get('#logo').click();
cy.contains('test course').should('exist')
- cy.contains('Students: 1').should('exist')
+ cy.contains('Students: 0').should('exist')
})
it('alter course', () => {
@@ -23,13 +21,13 @@ describe('create and change a course', () => {
cy.contains('test course').click()
cy.get('#editButton').click()
// add a student
- cy.get('#uploadStudent').get('#email').type('student1@testing.com') // make sure there is a student 1 in the db
+ cy.get('#uploadStudent').get('#email').type('student@testing.com')
cy.get('#uploadStudent').get('#add').click()
// save course
cy.get('#save').click()
cy.get('#confirm').click()
// check if the student was added
cy.get('#logo').click();
- cy.contains('Students: 2').should('exist')
+ cy.contains('Students: 1').should('exist')
})
})
\ No newline at end of file
diff --git a/frontend/frontend/cypress/fixtures/test.pdf b/frontend/frontend/cypress/fixtures/test.pdf
index e69de29b..9b30cd43 100644
Binary files a/frontend/frontend/cypress/fixtures/test.pdf and b/frontend/frontend/cypress/fixtures/test.pdf differ
diff --git a/frontend/frontend/src/components/GroupAccessComponent.tsx b/frontend/frontend/src/components/GroupAccessComponent.tsx
index d1dc91a3..1758bf64 100644
--- a/frontend/frontend/src/components/GroupAccessComponent.tsx
+++ b/frontend/frontend/src/components/GroupAccessComponent.tsx
@@ -35,7 +35,7 @@ export function GroupAccessComponent({
marginBottom={2}
>
{/* Button to navigate to groups page */}
-
+
>
)