Switch from an in-memory HSQLDB to MariaDB during integration tests #57
@ -14,6 +14,7 @@ import se.su.dsv.scipro.file.FileDescription;
|
|||||||
import se.su.dsv.scipro.file.FileReference;
|
import se.su.dsv.scipro.file.FileReference;
|
||||||
import se.su.dsv.scipro.project.Project;
|
import se.su.dsv.scipro.project.Project;
|
||||||
import se.su.dsv.scipro.system.DegreeType;
|
import se.su.dsv.scipro.system.DegreeType;
|
||||||
|
import se.su.dsv.scipro.system.Language;
|
||||||
import se.su.dsv.scipro.system.PageRequest;
|
import se.su.dsv.scipro.system.PageRequest;
|
||||||
import se.su.dsv.scipro.system.ProjectType;
|
import se.su.dsv.scipro.system.ProjectType;
|
||||||
import se.su.dsv.scipro.system.User;
|
import se.su.dsv.scipro.system.User;
|
||||||
@ -102,6 +103,7 @@ public class PeerReviewServiceImplIntegrationTest extends IntegrationTest {
|
|||||||
PeerRequest peerRequest = new PeerRequest();
|
PeerRequest peerRequest = new PeerRequest();
|
||||||
peerRequest.setProject(createProject());
|
peerRequest.setProject(createProject());
|
||||||
peerRequest.setRequester(createUser());
|
peerRequest.setRequester(createUser());
|
||||||
|
peerRequest.setLanguage(Language.ENGLISH);
|
||||||
final FileDescription fileDescription = save(new FileDescription());
|
final FileDescription fileDescription = save(new FileDescription());
|
||||||
final FileReference fileReference = new FileReference();
|
final FileReference fileReference = new FileReference();
|
||||||
fileReference.setFileDescription(fileDescription);
|
fileReference.setFileDescription(fileDescription);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user