Skip to content
Snippets Groups Projects
Commit 495a69b8 authored by Mads Lundegaard's avatar Mads Lundegaard
Browse files

Added some nice stuff

parent d54499ca
No related branches found
No related tags found
1 merge request!129Added test
Pipeline #79232 canceled
......@@ -84,7 +84,8 @@ class ImageServiceTest {
*/
@Test
void testCreateImageReturnsEmptyOptionalWithInvalidEntity() {
Optional<Image> createdImage = imageService.createImage(user, null, tags);
Optional<Image> createdImage;
createdImage = imageService.createImage(user, null, tags);
assertTrue(createdImage.isEmpty());
}
......
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