Skip to content

Commit 780c958

Browse files
NivedhaSunderrajLinusDietz
authored andcommitted
Fixes for all mods exporter tests (#4396)
1 parent b9f9720 commit 780c958

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/test/java/org/jabref/logic/exporter/ModsExportFormatTestFiles.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import org.jabref.model.util.DummyFileUpdateMonitor;
1919

2020
import org.junit.jupiter.api.BeforeEach;
21-
import org.junit.jupiter.api.Disabled;
2221
import org.junit.jupiter.api.extension.ExtendWith;
2322
import org.junit.jupiter.params.ParameterizedTest;
2423
import org.junit.jupiter.params.provider.MethodSource;
@@ -71,7 +70,6 @@ public void setUp(@TempDirectory.TempDir Path testFolder) throws Exception {
7170
modsImporter = new ModsImporter(mock);
7271
}
7372

74-
@Disabled
7573
@ParameterizedTest
7674
@MethodSource("fileNames")
7775
public final void testPerformExport(String filename) throws Exception {
@@ -99,7 +97,6 @@ public final void testExportAsModsAndThenImportAsMods(String filename) throws Ex
9997
BibEntryAssert.assertEquals(entries, tempFile, modsImporter);
10098
}
10199

102-
@Disabled
103100
@ParameterizedTest
104101
@MethodSource("fileNames")
105102
public final void testImportAsModsAndExportAsMods(String filename) throws Exception {

src/test/resources/org/jabref/logic/exporter/ModsExportFormatTestAllFields.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
</mods:place>
5858
<mods:dateCreated keyDate="yes">2000-11-10</mods:dateCreated>
5959
<mods:issuance>monographic</mods:issuance>
60-
<mods:publisher>Verlag verlag</mods:publisher>
60+
<mods:publisher ns3:type="mods:stringPlusLanguagePlusSupplied">Verlag verlag</mods:publisher>
6161
</mods:originInfo>
6262
<mods:relatedItem type="host">
6363
<mods:titleInfo>

0 commit comments

Comments
 (0)