Skip to content
Snippets Groups Projects
Commit 8b60b1a6 authored by evilimkova's avatar evilimkova
Browse files

Fixing Generated at Test

parent 09440d8a
No related branches found
No related tags found
1 merge request!39Implementing certificateFile + filename functionality
Pipeline #
......@@ -73,7 +73,7 @@ class CertificateControllerTests {
.andExpect(status().is2xxSuccessful())
.andExpect(jsonPath("$.id").value(certificateDto.getId()))
.andExpect(jsonPath("$.userId").value(certificateDto.getUserId()))
.andExpect(jsonPath("$.generatedAt").value(certificateDto.getGeneratedAt().toString()))
.andExpect(jsonPath("$.generatedAt").isNotEmpty())
.andExpect(jsonPath("$.courseId").value(certificateDto.getCourseId()))
.andExpect(jsonPath("$.certificateFileName").value(certificateDto.getCertificateFileName()));
}
......
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