Kaynağa Gözat

fix(tests): fix file names in tests

sschmidTU 7 yıl önce
ebeveyn
işleme
ead8c46f53

+ 1 - 1
test/Common/FileIO/Mxl_Test.ts

@@ -28,7 +28,7 @@ describe("MXL Tests", () => {
 
   // Test all the following mxl files:
   const scores: string[] = [
-    "MozartTrio.mxl",
+    "Mozart_Clarinet_Quintet_Excerpt.mxl",
   ];
   for (const score of scores) {
     testFile(score);

+ 2 - 2
test/Common/OSMD/OSMD_Test.ts

@@ -22,7 +22,7 @@ describe("OpenSheetMusicDisplay Main Export", () => {
     });
 
     it("load MXL from string", (done: MochaDone) => {
-        const mxl: string = TestUtils.getMXL("MozartTrio.mxl");
+        const mxl: string = TestUtils.getMXL("Mozart_Clarinet_Quintet_Excerpt.mxl");
         const div: HTMLElement = TestUtils.getDivElement(document);
         const opensheetmusicdisplay: OpenSheetMusicDisplay = new OpenSheetMusicDisplay(div);
         opensheetmusicdisplay.load(mxl).then(
@@ -80,7 +80,7 @@ describe("OpenSheetMusicDisplay Main Export", () => {
     });
 
     it("load MXL Document by URL", (done: MochaDone) => {
-        const url: string = "base/test/data/MozartTrio.mxl";
+        const url: string = "base/test/data/Mozart_Clarinet_Quintet_Excerpt.mxl";
         const div: HTMLElement = TestUtils.getDivElement(document);
         const opensheetmusicdisplay: OpenSheetMusicDisplay = new OpenSheetMusicDisplay(div);
         opensheetmusicdisplay.load(url).then(