Add tests for Lab model
All threads resolved!
All threads resolved!
What does this mr do?
This MR adds tests for the Lab model
Edited by Thijs Nulle
Merge request reports
Activity
- Resolved by Chris Lemaire
Could you please squash these commits when merging it :)
- Resolved by Chris Lemaire
- Resolved by Otto Visser
added 137 commits
-
00750279...07108b8a - 136 commits from branch
development
- fba6c93d - Fix gitlab ci
-
00750279...07108b8a - 136 commits from branch
added 133 commits
- 97765212 - Add tests for lab model
- 9050b5eb - Add tests for totalRequestPerHour
- 6ec271b7 - Add tests for totalRejectedPerHour
- 14d2716c - Add tests for getEntityFor
- acf1aad0 - Add tests for isBeingProcessed
- c2ce781e - Add tests for isOnline
- e04c96b5 - Add tests needsJitsiLink
- 2d039ff7 - Add tests for requestBy
- c84dee6a - Add tests for countRequestBy
- e0fc9c6d - Add tests for position in queue
- e34fb307 - Add tests for slotIsAvailable
- 10680240 - Add tests for getNumberOfRequestsOnSlot
- 22e3c1a1 - Add tests for getRequestsOnSlot
- 4b043b90 - Add tests for addAssignment
- f8b56b6b - Add tests for containsAssignment
- a61984eb - Add tests for containsAllowedRequestType
- 1682d361 - Add tests for containsAllowedMentorGroup
- 93f7e29d - Add tests for slotSelectionIsOpen
- 8a075d93 - Add tests for isOpenOrSlotSelection
- 1f80dc89 - Add tests for display and remove redudant code
- 6b84192f - Add tests for hasRoom
- 4bc4bab1 - Add tests for getFilteredRooms
- 336960d6 - Add tests for addRequest
- 1e42f7b9 - Add tests for allAllowed
- 9f9dc8a9 - Add tests for userAllowedForThisLab + fix bug in method
- 76b23831 - Add test for toReadableString
- 0a30d21d - Add tests for groupAllowedForThisLab
- 3adaa61c - Add tests for entityAllowedForThisLab
- 8f3c4469 - Add tests for getQueuedCount
- 1de0553c - Add tests for getAcceptInterval
- bf24d594 - Add tests for toString and toSlug
- 233f02cc - Change tempLab constructor inside @Before
- f54b2dd7 - Show date when viewing a time slot request
- 34968b52 - Update CHANGELOG.md
- d64ccf30 - Change request text shown for time slots
- 1930062c - Add toString method to FirstYearStudent
- d85f0fcb - Update CHANGELOG.md
- 013098ee - Add netid to toString method of first year user
- 14395e02 - Add email suffix to be used in the application
- 13955620 - Update user to use the specified email suffix
- 58fc33ed - Update DatabaseLoader to use email suffix
- 56502db5 - Update application.yml for testing
- e774044b - Update license UserService.java
- ca913993 - Update application.yaml
- f0bab2af - Use new application.yaml properties
- fcff3e52 - Update privacy.html to use queue.details.name
- fc5c2a59 - Add logo option in application.yaml
- 94e07727 - Check for @ character instead of emailSuffix
- 8b9c71e9 - Update CHANGELOG.md
- 62a963b4 - Change queue.details... to institute... in application.yaml
- 900ae5a5 - Remove @ from emailSuffix in institute details
- 9107fc5c - Change email to netidDomain and change default jitsi server
- 54655a17 - Add transactional
- a5e64600 - upgrade a few version for security reasons
- 15e7ea45 - Security improvements; requestmappings --> getmappings
- 5fdeb537 - Fix having tabs and spaces in one file
- 2c43e33f - Add button to view course instead of link
- 795ac935 - Update CHANGELOG.md
- 6eafe022 - Refactor conditions in course list thymeleaf template
- 22b29952 - Show TA attendance per lab under course status
- 51335808 - Update CHANGELOG.md
- 891e7854 - Add option for handled request count for all labs
- 9b9c089f - Rename method to be more clear
- 8514271c - Add tests for Request Model
- 8d3df52c - Add tests isAdmin, canViewCourse and canLeaveCourse
- c3add4fe - Add tests canManageParticipants, canManageTeachers, canUpdateParticipants
- bdfbf9d7 - Add tests for canAddParticipant, canViewStatus, canManageAssignments
- 9b032c5b - Add tests for canEditCourse, canExportLab, canRemoveCourse
- 1dd46b5a - Add tests for canEnrollCourse, canViewLab
- 083fa1b5 - Add tests for canEnqueueSelfForLab
- 9c05af4c - Add tests unenqueueing/enqueueing
- 33f5ddd3 - Add managers to list of users that can get next request
- 8c9d94a1 - Add tests for canNextRequest
- 590494b3 - Add tests for canViewRequests, canCreateLab
- 3530f343 - Add tests canEditLab, canRemoveLab
- 0ce22619 - Add tests for canManageLabSlots, canViewNotification
- 4c3c5534 - Add tests for canViewRequest, canViewFeedback
- b4151663 - Add tests for canViewDeanonymizedFeedback
- e59ee8c6 - Add tests for canViewOwnFeedback
- 6192a5c0 - Add tests for canViewRequestReason
- 73bfb258 - Add tests for canFinishRequest
- 4189c5e8 - Add tests for getters in permissionServiceTest
- 1bd8eab1 - Refactor CourseService and add tests for UserCsvHelper
- 941f2811 - Final fixes
- dea28ab7 - Add warning messages for using groups in a course
- 952f1b63 - Add option to disable groups once in a course
- ae32f4cb - Update CHANGELOG.md
- 203a0cb7 - Disable access to lab creation page if no mentor groups
- 29310d3e - Use course groups instead of first year mentor groups
- 958f5715 - Add tests for Room model
- 2a5ac26b - Add tests for User Model
- e175d0ba - Add tests for Course Model
- eb6b5746 - Fix bug where close and open time were swapped
- 25587c00 - Add tests lab service
- 5dd91600 - Add tests for Slot model
- 81f661e2 - Add tests for Notification model
- e55903ff - Add tests for FirstYearStudent model
- 78ab1c3d - Add tests for FirstYearMentorGroup
- 1adb8c22 - Add tests for LabStatusService
- b4ce5aad - Fix bug where program crashes on toSentence
- c49b17b0 - Add tests for RequestService
- deb12221 - Add tests for RequestCreateModel
- 079a72a0 - Add tests for LabStatisticsViewDto
- 8f7855dd - Add tests for RequestFrequencyViewDto
- 74916739 - Add tests for RequestStatusViewDto
- d42cf06e - Add tests for RoomMapPathDto
- 9814ffc9 - Fix flaky test in LabServiceTest
- c4a36257 - Remove @Data and replace with @Getter and @Setter
- 6fb74711 - Add tests for LabCsvHelper
- b66e4358 - Change all JUnit 4 tests to JUnit 5
- a4758c73 - Only show get next button if lab is open
- 3a1b8197 - Update CHANGELOG.md
- dc7db1b7 - Add gradle task to compile sass
- 19647d56 - Change card classes to more general
- 0a5bfb21 - Add variables sass colours file
- 499a4bac - Add more customisable classes to filter
- a7756200 - Rewrite global.css to a sass file
- b37253f2 - Add comments in _variables.scss
- 2df8bab2 - Update gitignore for sass compilation
- 1857c201 - Change css to sass files
- 3e7c76f4 - Refactor global.css to global.scss
- b56de5ef - Fix request info when handling request
- cc687350 - Make bootRun dependent on sassCompile
- a4d7e484 - Update CHANGELOG.md
- e4c61e29 - Make assemble task depend on sassCompile
- 20b27237 - Change comments to prevent license violations
- 898dc1cc - Make processResources task depend on sassCompile
- 587a9e83 - Make Jitsi links not appear for unassigned requests
- b928bab2 - Update .gitlab-ci.yml to rules syntax
- a4f203a3 - Update .gitlab-ci.yml; change more only rules
- bcd595f1 - Update .gitlab-ci.yml; change when
- 65524dad - Update .gitlab-ci.yml
- 2238fbcc - Apply changes from...
Toggle commit listadded 209 commits
-
2238fbcc...e540d91c - 165 commits from branch
development
- f54edfc3 - Add tests for examLabPercentage, getTitle of lab
- 092c6afe - Add tests for lab model
- 191ece51 - Add tests for totalRequestPerHour
- 0ed129af - Add tests for totalRejectedPerHour
- f46b6400 - Add tests for getEntityFor
- a318b3b9 - Add tests for isBeingProcessed
- 93590dac - Add tests for isOnline
- 60699e90 - Add tests needsJitsiLink
- 37c85740 - Add tests for requestBy
- 0288f09a - Add tests for countRequestBy
- 0443376a - Add tests for position in queue
- e848791d - Add tests for slotIsAvailable
- 5bc42240 - Add tests for getNumberOfRequestsOnSlot
- a15cee24 - Add tests for getRequestsOnSlot
- 626070e8 - Add tests for addAssignment
- 9ab0326f - Add tests for containsAssignment
- baf6dc3e - Add tests for containsAllowedRequestType
- 83c6792a - Add tests for containsAllowedMentorGroup
- 14afc995 - Add tests for slotSelectionIsOpen
- 5f636cc4 - Add tests for isOpenOrSlotSelection
- 9ed43ae0 - Add tests for display and remove redudant code
- e91570ee - Add tests for hasRoom
- 07cbfead - Add tests for getFilteredRooms
- 65927f33 - Add tests for addRequest
- 3ecf4bd9 - Add tests for allAllowed
- bebb7a4d - Add tests for userAllowedForThisLab + fix bug in method
- 7ffba305 - Add test for toReadableString
- 7a066598 - Add tests for groupAllowedForThisLab
- 0d84358b - Add tests for entityAllowedForThisLab
- 37c4ec89 - Add tests for getQueuedCount
- f4dd8dc3 - Add tests for getAcceptInterval
- 0e64a452 - Add tests for toString and toSlug
- e65dccce - Change tempLab constructor inside @Before
- 840637ad - Update CHANGELOG.md
- f646eb6b - Update CHANGELOG.md
- 16883fd1 - Update CHANGELOG.md
- 111eb4c1 - Update CHANGELOG.md
- c0766740 - Add warning messages for using groups in a course
- 1b9d7930 - Update CHANGELOG.md
- cc6c1cef - Use course groups instead of first year mentor groups
- a3e23577 - Change all JUnit 4 tests to JUnit 5
- 7118b809 - Update CHANGELOG.md
- 2fe5efab - Add gradle task to compile sass
- f384375a - Update CHANGELOG.md
Toggle commit list-
2238fbcc...e540d91c - 165 commits from branch
added 13 commits
- 28f7ade5 - Add tests for Lab model
- 47c18589 - Change tempLab constructor inside @Before
- 76d6127b - Update CHANGELOG.md
- 9f145ce5 - Update CHANGELOG.md
- 67f6443e - Update CHANGELOG.md
- dd13f264 - Update CHANGELOG.md
- 72f78ab8 - Add warning messages for using groups in a course
- a94b7135 - Update CHANGELOG.md
- 52db2b94 - Use course groups instead of first year mentor groups
- 4b4a3436 - Change all JUnit 4 tests to JUnit 5
- 25c46c45 - Update CHANGELOG.md
- 235718c8 - Add gradle task to compile sass
- b9406d37 - Update CHANGELOG.md
Toggle commit listadded 1 commit
- f8b591c6 - Change tempLab constructor inside @BeforeEach
added 1 commit
- 64386375 - Change tempLab constructor inside @BeforeEach
added 1 commit
- 96af8713 - Change tempLab constructor inside @BeforeEach
mentioned in commit b83b8946
unassigned @tnulle
Please register or sign in to reply