Skip to content
Snippets Groups Projects
Commit 85287fa0 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

fix: text adjustments

parent 776b9e87
No related branches found
No related tags found
Loading
...@@ -13,7 +13,6 @@ const responseMock = { ...@@ -13,7 +13,6 @@ const responseMock = {
<ns7:consulterDonneesTechniquesContractuellesResponse xmlns:ns0="http://www.erdf.fr/tube/exposition/finalisation" xmlns:ns7="http://www.enedis.fr/sge/b2b/services/consulterdonneestechniquescontractuelles/v1.0"> <ns7:consulterDonneesTechniquesContractuellesResponse xmlns:ns0="http://www.erdf.fr/tube/exposition/finalisation" xmlns:ns7="http://www.enedis.fr/sge/b2b/services/consulterdonneestechniquescontractuelles/v1.0">
<point id="19160781274487"> <point id="19160781274487">
<donneesGenerales> <donneesGenerales>
<dateDerniereModificationFormuleTarifaireAcheminement>2021-08-01+02:00</dateDerniereModificationFormuleTarifaireAcheminement> <dateDerniereModificationFormuleTarifaireAcheminement>2021-08-01+02:00</dateDerniereModificationFormuleTarifaireAcheminement>
<niveauOuvertureServices>2</niveauOuvertureServices> <niveauOuvertureServices>2</niveauOuvertureServices>
</donneesGenerales> </donneesGenerales>
...@@ -38,10 +37,6 @@ const responseIssueMock = { ...@@ -38,10 +37,6 @@ const responseIssueMock = {
}, },
} }
/** Theses tests are not working
* the function getContractStartDate needs to be in a seperate file
* OR the konnector.start needs to be mocked ?
*/
describe('getContractStartDate', () => { describe('getContractStartDate', () => {
it('should return void when successfully got contract start date ✅', async () => { it('should return void when successfully got contract start date ✅', async () => {
mockSoapRequest.mockResolvedValueOnce(responseMock) mockSoapRequest.mockResolvedValueOnce(responseMock)
......
...@@ -14,7 +14,7 @@ jest.mock('../../src/index', () => ({ ...@@ -14,7 +14,7 @@ jest.mock('../../src/index', () => ({
})) }))
describe('verifyUserIdentity', () => { describe('verifyUserIdentity', () => {
it('should throw LOGIN_FAILED when pdl give and recieved are NOT matching 🚫', async () => { it('should throw LOGIN_FAILED when pdl given and recieved are NOT matching 🚫', async () => {
try { try {
await verifyUserIdentity( await verifyUserIdentity(
{ {
......
...@@ -9,6 +9,7 @@ const { ...@@ -9,6 +9,7 @@ const {
commanderCollectePublicationMesures, commanderCollectePublicationMesures,
commanderArretServiceSouscritMesures, commanderArretServiceSouscritMesures,
} = require('../../src/requests/sge') } = require('../../src/requests/sge')
describe('Sge routes', () => { describe('Sge routes', () => {
describe('consultationMesuresDetaillees', () => { describe('consultationMesuresDetaillees', () => {
it('should format request with default params', async () => { it('should format request with default params', async () => {
......
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