-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mer beskrivende dokument tittel i dokarkiv #830
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gjerne gi PR-en en mer leselig tittel.
apps/joark/src/main/kotlin/no/nav/helsearbeidsgiver/inntektsmelding/joark/JournalfoerImRiver.kt
Outdated
Show resolved
Hide resolved
apps/joark/src/main/kotlin/no/nav/helsearbeidsgiver/inntektsmelding/joark/JournalfoerImRiver.kt
Outdated
Show resolved
Hide resolved
apps/joark/src/main/kotlin/no/nav/helsearbeidsgiver/inntektsmelding/joark/JournalfoerImRiver.kt
Outdated
Show resolved
Hide resolved
apps/joark/src/main/kotlin/no/nav/helsearbeidsgiver/inntektsmelding/joark/JournalfoerImRiver.kt
Outdated
Show resolved
Hide resolved
...ark/src/test/kotlin/no/nav/helsearbeidsgiver/inntektsmelding/joark/JournalfoerImRiverTest.kt
Outdated
Show resolved
Hide resolved
...ark/src/test/kotlin/no/nav/helsearbeidsgiver/inntektsmelding/joark/JournalfoerImRiverTest.kt
Outdated
Show resolved
Hide resolved
Ser ikke endring i dev miljø, tester annen tittel i joark tilDokumenter |
...ark/src/test/kotlin/no/nav/helsearbeidsgiver/inntektsmelding/joark/JournalfoerImRiverTest.kt
Outdated
Show resolved
Hide resolved
apps/felles/src/main/kotlin/no/nav/helsearbeidsgiver/felles/utils/PeriodeUtils.kt
Outdated
Show resolved
Hide resolved
Fikk |
@@ -49,7 +49,7 @@ fun tilDokumenter( | |||
|
|||
private fun ByteArray.encode(): String = base64.encodeToString(this) | |||
|
|||
fun Inntektsmelding.tilJournalTittel(): String { | |||
fun Inntektsmelding.tilDokumentbeskrivelse(): String { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Byttet til Dokumentberskrivelse da dette er navnet på feltet i gosys
fun mockInntekstmeldingMedPerioder(perioder: List<Periode>): Inntektsmelding = | ||
mockInntektsmeldingV1().copy(agp = mockInntektsmeldingV1().agp?.copy(perioder = perioder)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ville gjort denne private og flyttet den nederst i fila. Forventer ikke en mock-funksjon midt mellom testene.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enig
mockInntektsmeldingV1().copy(agp = mockInntektsmeldingV1().agp?.copy(perioder = perioder)) | ||
|
||
@Test | ||
fun journalTittelToPerioder() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Denne og følgende tester bør vel bytte ut "journaltittel" med "dokumentbeskrivelse"?
Endret på beskrivende tittel til PDF lagret i dokarkiv (ikke filnavnet).
Før:
Inntektsmelding
Etter:
Inntektsmelding-914337658-05.10.2018 - [...] - 22.10.2018
Formatet inkluderer nå orgnr - f.o.m - t.o.m.