mirror of
https://github.com/UniversityOfHelsinkiCS/ohtuilmo.git
synced 2026-10-12 19:03:41 +03:00
fix backend unit tests
This commit is contained in:
@@ -67,6 +67,7 @@ describe('POST Groups', () => {
|
||||
name: 'Hassunimi',
|
||||
topicId: testTopicId,
|
||||
configurationId: testConfigurationId,
|
||||
isShortProject: true,
|
||||
studentIds: createdTestUsers.concat(testUsers[0]).map(user => user.student_number.toString())
|
||||
})
|
||||
|
||||
@@ -87,6 +88,7 @@ describe('POST Groups', () => {
|
||||
name: 'Hassunimi',
|
||||
topicId: testTopicId,
|
||||
configurationId: testConfigurationId,
|
||||
isShortProject: true,
|
||||
studentIds: createdTestUsers.map(user => user.student_number.toString()).concat('eiainakaansn')
|
||||
})
|
||||
|
||||
@@ -107,6 +109,7 @@ describe('POST Groups', () => {
|
||||
name: 'Hassunimi',
|
||||
topicId: testTopicId,
|
||||
configurationId: testConfigurationId,
|
||||
isShortProject: true,
|
||||
studentIds: createdTestUsers.map(user => user.student_number.toString())
|
||||
})
|
||||
|
||||
@@ -118,6 +121,7 @@ describe('POST Groups', () => {
|
||||
'updatedAt',
|
||||
'topicId',
|
||||
'instructorId',
|
||||
'isShortProject',
|
||||
'configurationId',
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user