diff --git a/testing/marionette/harness/marionette_harness/tests/unit/amosigned.xpi b/testing/marionette/harness/marionette_harness/tests/unit/amosigned.xpi new file mode 100644 index 000000000000..9e895dbbb4a8 Binary files /dev/null and b/testing/marionette/harness/marionette_harness/tests/unit/amosigned.xpi differ diff --git a/testing/marionette/harness/marionette_harness/tests/unit/test_addons.py b/testing/marionette/harness/marionette_harness/tests/unit/test_addons.py index 1552dc8d6f2e..52a4d0a9a11d 100644 --- a/testing/marionette/harness/marionette_harness/tests/unit/test_addons.py +++ b/testing/marionette/harness/marionette_harness/tests/unit/test_addons.py @@ -90,11 +90,11 @@ class TestAddons(MarionetteTestCase): self.assertNotIn("{d3e7c1f1-2e35-4a49-89fe-9f46eb8abf0a}", self.all_addon_ids) def test_install_and_remove_signed_addon(self): - addon_path = os.path.join(here, "webextension-signed.xpi") + addon_path = os.path.join(here, "amosigned.xpi") addon_id = self.addons.install(addon_path) self.assertIn(addon_id, self.all_addon_ids) - self.assertEqual(addon_id, "{d3e7c1f1-2e35-4a49-89fe-9f46eb8abf0a}") + self.assertEqual(addon_id, "amosigned-xpi@tests.mozilla.org") self.addons.uninstall(addon_id) self.assertNotIn(addon_id, self.all_addon_ids) @@ -126,11 +126,11 @@ class TestAddons(MarionetteTestCase): def test_install_mixed_separator_windows(self): # Ensure the base path has only \ addon_path = here.replace("/", "\\") - addon_path += "/webextension-signed.xpi" + addon_path += "/amosigned.xpi" addon_id = self.addons.install(addon_path, temp=True) self.assertIn(addon_id, self.all_addon_ids) - self.assertEqual(addon_id, "{d3e7c1f1-2e35-4a49-89fe-9f46eb8abf0a}") + self.assertEqual(addon_id, "amosigned-xpi@tests.mozilla.org") self.addons.uninstall(addon_id) self.assertNotIn(addon_id, self.all_addon_ids) diff --git a/testing/marionette/harness/marionette_harness/tests/unit/webextension-signed.xpi b/testing/marionette/harness/marionette_harness/tests/unit/webextension-signed.xpi deleted file mode 100644 index 5363911af16b..000000000000 Binary files a/testing/marionette/harness/marionette_harness/tests/unit/webextension-signed.xpi and /dev/null differ diff --git a/testing/marionette/harness/marionette_harness/www/addons/webextension-signed.xpi b/testing/marionette/harness/marionette_harness/www/addons/webextension-signed.xpi deleted file mode 100644 index 5363911af16b..000000000000 Binary files a/testing/marionette/harness/marionette_harness/www/addons/webextension-signed.xpi and /dev/null differ