Skip to content

Commit dffb203

Browse files
authored
Fix tests
1 parent 06f2779 commit dffb203

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/java/org/jabref/logic/openoffice/oocsltext/CSLFormatUtilsTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,12 +305,12 @@ static Stream<Arguments> ooHTMLTransformFromCitationWithSingleEntry() {
305305
),
306306

307307
Arguments.of(
308-
"(Smith, Jones, & Williams, \"Title of the test entry\")",
308+
"(Smith, Jones and Williams, 2016)",
309309
STYLE_LIST.stream().filter(e -> "De Montfort University - Harvard".equals(e.getTitle())).findAny().get()
310310
),
311311

312312
Arguments.of(
313-
"(Smith, Jones, & Williams)",
313+
"(Smith, Jones, & Williams, “Title of the test entry”)",
314314
STYLE_LIST.stream().filter(e -> "Modern Language Association 7th edition (underline)".equals(e.getTitle())).findAny().get()
315315
),
316316

@@ -429,12 +429,12 @@ static Stream<Arguments> ooHTMLTransformFromCitationWithMultipleEntries() {
429429
),
430430

431431
Arguments.of(
432-
"(Garcia & Lee, \"Quantum Entanglement in Superconductors\"; Smith & Johnson, \"A Study on Machine Learning Algorithms\")",
432+
"(Garcia and Lee, 2021; Smith and Johnson, 2020)",
433433
STYLE_LIST.stream().filter(e -> "De Montfort University - Harvard".equals(e.getTitle())).findAny().get()
434434
),
435435

436436
Arguments.of(
437-
"(Garcia & Lee; Smith & Johnson)",
437+
"(Garcia & Lee, “Quantum Entanglement in Superconductors”; Smith & Johnson, “A Study on Machine Learning Algorithms”)",
438438
STYLE_LIST.stream().filter(e -> "Modern Language Association 7th edition (underline)".equals(e.getTitle())).findAny().get()
439439
),
440440

0 commit comments

Comments
 (0)