Skip to content

Commit

Permalink
Merge pull request #40 from abes-esr/develop
Browse files Browse the repository at this point in the history
merge develop dans main
  • Loading branch information
pierre-maraval authored May 7, 2024
2 parents ab6f206 + 60be05a commit e9ac981
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/main/java/fr/abes/cbs/commandes/Commandes.java
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,10 @@ public String translitererSansPPN(final String notice) throws CBSException, IOEx
public String rel(String lotEncours) throws CBSException, IOException {
String query = new StringBuilder().append(Constants.VTI1).append(Constants.STR_1D).append(Constants.VSE).append(lotEncours)
.append(Constants.STR_1D).append(Constants.VPRUNM).append(Constants.STR_1D).append(Constants.VT1).append(Constants.STR_1D)
.append(Constants.VTAFR).append(Constants.STR_1D).append(Constants.VCUTF8).append(Constants.STR_1D).append("CUSrel").toString();
.append(Constants.VTAFR).append(Constants.STR_1D).append(Constants.VCUTF8).append(Constants.STR_1D).append("CUSrel ; aff k").toString();
return connector.tcpReq(query);
}

/**
* Suppression d'une notice
*
Expand Down
8 changes: 4 additions & 4 deletions src/test/java/fr/abes/cbs/CommandesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Objects;
import java.util.Properties;
import java.util.Scanner;
import java.util.*;

import static org.assertj.core.api.Assertions.assertThat;

Expand Down Expand Up @@ -409,5 +408,6 @@ String noticeTestEnEdition() throws CBSException, IOException {
cmd.affUnma();
return cmd.editer("1");
}

}

2 changes: 2 additions & 0 deletions src/test/java/fr/abes/cbs/notices/BiblioTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ void testZones6XXet7XX() throws Exception {
"604 ##$3269292918$x604x$2rameau\r" +
"605 ##$3269292683$m605m$x605x$2rameau\r" +
"605 ##$a@605a$h605h$h605h-2$i605i-2$k605k$m605m$x605x$2rameau\r" +
"606 ##$1FRBNF029949904$aPersonnel de la petite enfance$1FRBNF027792110$xPratique$2rameau\r" +
"607 ##$3277194156$z607z$2rameau\r" +
"607 ##$3277194156$3269292721$x607x$y607y$z607z$2rameau\r" +
"607 ##$a607a$x607x$z607z$2rameau\r" +
Expand Down Expand Up @@ -679,6 +680,7 @@ void testZones6XXet7XX() throws Exception {
"604 ##$3269292918$x604x$2rameau\r" +
"605 ##$3269292683$m605m$x605x$2rameau\r" +
"605 ##$a@605a$h605h$h605h-2$i605i-2$k605k$m605m$x605x$2rameau\r" +
"606 ##$1FRBNF029949904$aPersonnel de la petite enfance$1FRBNF027792110$xPratique$2rameau\r" +
"607 ##$3277194156$z607z$2rameau\r" +
"607 ##$3277194156$3269292721$x607x$y607y$z607z$2rameau\r" +
"607 ##$a607a$x607x$z607z$2rameau\r" +
Expand Down

0 comments on commit e9ac981

Please sign in to comment.