Skip to content
Snippets Groups Projects
Commit 6a5b4da0 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

when accessing non existing project exception was thrown

parent b5dca6d2
No related branches found
No related tags found
1 merge request!5Frontend refactor
......@@ -695,9 +695,9 @@ public class ProjectServiceTest extends ServiceTestFunctions {
images(false).//
async(false).//
projectDir(tmpResultDir).//
addUser("gawi", "gawi").//
addUser("admin", "admin").//
analyzeAnnotations(true));
AuthenticationToken token = userService.login("gawi", "gawi");
AuthenticationToken token = userService.login("admin", "admin");
Project project = projectService.getProjectByProjectId(projectId, token);
return project;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment