From 2016ab9b3ff1abd03115706eae4d26a0c28a90f8 Mon Sep 17 00:00:00 2001 From: mkrueger92 <7305571+mkrueger92@users.noreply.github.com> Date: Sat, 8 Feb 2025 18:14:04 +0100 Subject: [PATCH] Adjust more tests Fixes #673 --- tests/ghw_check_ota_pr.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ghw_check_ota_pr.test.ts b/tests/ghw_check_ota_pr.test.ts index bc0d2908..2750f908 100644 --- a/tests/ghw_check_ota_pr.test.ts +++ b/tests/ghw_check_ota_pr.test.ts @@ -459,7 +459,7 @@ Text after end tag`); expect(writeManifestSpy).toHaveBeenCalledWith(common.BASE_INDEX_MANIFEST_FILENAME, [ withExtraMetas(IMAGE_V13_1_METAS, { // @ts-expect-error override - url: `https://github.com/Koenkk/zigbee-OTA/raw/master/${common.BASE_IMAGES_DIR}/${IMAGES_TEST_DIR}/${IMAGE_V13_1}`, + url: `https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/${common.BASE_IMAGES_DIR}/${IMAGES_TEST_DIR}/${IMAGE_V13_1}`, }), withExtraMetas(IMAGE_V14_1_METAS, {minFileVersion: 16783874}), ]); @@ -482,7 +482,7 @@ Text after end tag`); expect(writeManifestSpy).toHaveBeenCalledWith(common.BASE_INDEX_MANIFEST_FILENAME, [ withExtraMetas(IMAGE_V13_1_METAS, { // @ts-expect-error override - url: `https://github.com/Koenkk/zigbee-OTA/raw/master/${common.BASE_IMAGES_DIR}/${IMAGES_TEST_DIR}/${IMAGE_V13_1}`, + url: `https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/${common.BASE_IMAGES_DIR}/${IMAGES_TEST_DIR}/${IMAGE_V13_1}`, maxFileVersion: 16783873, }), IMAGE_V14_1_METAS, @@ -506,7 +506,7 @@ Text after end tag`); expect(writeManifestSpy).toHaveBeenCalledWith(common.BASE_INDEX_MANIFEST_FILENAME, [ withExtraMetas(IMAGE_V13_1_METAS, { // @ts-expect-error override - url: `https://github.com/Koenkk/zigbee-OTA/raw/master/${common.BASE_IMAGES_DIR}/${IMAGES_TEST_DIR}/${IMAGE_V13_1}`, + url: `https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/${common.BASE_IMAGES_DIR}/${IMAGES_TEST_DIR}/${IMAGE_V13_1}`, maxFileVersion: 16783873, }), withExtraMetas(IMAGE_V14_1_METAS, {minFileVersion: 16783874}),