From 48f2d3be29673ef2980094de71a2d48c964300a2 Mon Sep 17 00:00:00 2001 From: pierre-maraval Date: Tue, 28 Nov 2023 15:55:42 +0100 Subject: [PATCH] Fix TU --- src/main/resources/application.properties | 1 - src/test/java/fr/abes/bestppn/service/BestPpnServiceTest.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index a50dc03..32aba57 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -21,7 +21,6 @@ log4j2.logdir=logs logging.config=classpath:log4j2-all.xml # Common Kafka Properties -auto.create.topics.enable=true spring.kafka.producer.key-serializer=org.apache.kafka.common.serialization.StringSerializer spring.kafka.producer.value-serializer=org.apache.kafka.common.serialization.StringSerializer spring.kafka.producer.transaction-id-prefix=tx- diff --git a/src/test/java/fr/abes/bestppn/service/BestPpnServiceTest.java b/src/test/java/fr/abes/bestppn/service/BestPpnServiceTest.java index 1ed73a9..b6781e8 100644 --- a/src/test/java/fr/abes/bestppn/service/BestPpnServiceTest.java +++ b/src/test/java/fr/abes/bestppn/service/BestPpnServiceTest.java @@ -342,7 +342,7 @@ void getBestPpnTest04() throws IOException, URISyntaxException { // Vérification BestPpnException result = Assertions.assertThrows(BestPpnException.class, ()-> bestPpnService.getBestPpn(kbart, provider, false)); - Assertions.assertEquals("Les ppn électroniques 100000001, 100000002 ont le même score" , result.getLocalizedMessage()); + Assertions.assertEquals("Kbart : publication title : Titre / publication_type : serial / online_identifier : 1292-8399 / print_identifier : 2-84358-095-1 : Les ppn électroniques 100000001, 100000002 ont le même score" , result.getLocalizedMessage()); }