Skip to content

Commit

Permalink
fix: tests (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
BettyB979 authored Jan 17, 2024
1 parent e29e284 commit eb95725
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ springdoc.swagger-ui.tagsSorter: alpha
springdoc.swagger-ui.enabled=true


fr.insee.datacollectionmanagement.cors.allowedOriginsg=*
fr.insee.datacollectionmanagement.cors.allowedOrigins=*


#Actuator Metrics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.Year;
import java.util.*;
import java.util.stream.Collectors;

Expand Down Expand Up @@ -204,7 +203,7 @@ private Contact createContact(int i) {

private void initMetadata() throws ParseException {

int year = Year.now().getValue();
int year = 2023;

Owner ownerInsee = new Owner();
ownerInsee.setId("Insee");
Expand Down Expand Up @@ -303,7 +302,7 @@ private void initMetadata() throws ParseException {
private void initQuestionning(Faker faker) {

Long nbExistingQuestionings = questioningRepository.count();
int year = Year.now().getValue();
int year = 2023;
Date today = new Date();

Questioning qu;
Expand Down

0 comments on commit eb95725

Please sign in to comment.