Commit 6a5b4da0 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

when accessing non existing project exception was thrown

parent b5dca6d2
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment