This is the codeAbility Sharing Platform! Learn more about the
codeAbility Sharing Platform
.
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
codeAbility Sharing Platform
Manage
Activity
Members
Labels
Plan
Issues
43
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
development
sharing
codeAbility Sharing Platform
Commits
c2c93d08
Commit
c2c93d08
authored
2 years ago
by
Eduard Frankford
Browse files
Options
Downloads
Patches
Plain Diff
improving tests
parent
5cf784a2
2 merge requests
!188
Merging Peer Reviewing et. al to Master
,
!164
211 peer reviewing functionality
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/java/at/ac/uibk/gitsearch/service/ReviewServiceTest.java
+0
-9
0 additions, 9 deletions
.../java/at/ac/uibk/gitsearch/service/ReviewServiceTest.java
with
0 additions
and
9 deletions
src/test/java/at/ac/uibk/gitsearch/service/ReviewServiceTest.java
+
0
−
9
View file @
c2c93d08
...
...
@@ -5,7 +5,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
import
at.ac.uibk.gitsearch.GitsearchApp
;
import
at.ac.uibk.gitsearch.domain.Review
;
import
at.ac.uibk.gitsearch.domain.ReviewRating
;
import
at.ac.uibk.gitsearch.domain.Statistics
;
import
at.ac.uibk.gitsearch.repository.jpa.ReviewRatingRepository
;
import
at.ac.uibk.gitsearch.repository.jpa.ReviewRepository
;
...
...
@@ -16,7 +15,6 @@ import at.ac.uibk.gitsearch.service.dto.ReviewRequest;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.stream.Collectors
;
import
org.junit.jupiter.api.AfterAll
;
import
org.junit.jupiter.api.BeforeEach
;
import
org.junit.jupiter.api.Test
;
import
org.junit.jupiter.api.extension.ExtendWith
;
...
...
@@ -58,13 +56,6 @@ public class ReviewServiceTest {
reviewService
.
createReview
(
new
ReviewRequest
(
"resource"
,
"codeability.at"
,
"1"
,
reviewers
));
}
@AfterAll
public
void
cleanUp
()
{
reviewRatingRepository
.
deleteAll
();
reviewRepository
.
deleteAll
();
statisticsRepository
.
deleteAll
();
}
@Test
@WithMockUser
(
authorities
=
AuthoritiesConstants
.
ADMIN
,
username
=
"admin"
)
public
void
createReviewTest
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment