Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/tests/views/elements/install.test.php
diff options
context:
space:
mode:
Diffstat (limited to 'site/app/tests/views/elements/install.test.php')
-rw-r--r--site/app/tests/views/elements/install.test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/app/tests/views/elements/install.test.php b/site/app/tests/views/elements/install.test.php
index c4d10ff..f874f58 100644
--- a/site/app/tests/views/elements/install.test.php
+++ b/site/app/tests/views/elements/install.test.php
@@ -72,8 +72,8 @@ class InstallTest extends WebTestHelper {
$installMessage = _('a_eula_install');
//test filenames matches with database
- $this->wantedPattern = "@<a href=\"{$this->actionPath}/downloads/latest/{$this->id}/addon-{$this->id}-latest.xpi\"@";
- $this->assertWantedPattern($this->wantedPattern, "install url matches: ".htmlentities($this->wantedPattern));
+ $this->wantedPattern = "@<a href=\"{$this->actionPath}/downloads/file/{$this->data['Version'][0]['File'][0]['id']}@";
+ $this->assertWantedPattern($this->wantedPattern, "install url matches: {$this->actionPath}/downloads/file/{$this->data['Version'][0]['File'][0]['id']}");
//test add-on name matches in install trigger
$this->wantedPattern = "@addonName=\"{$this->data['Translation']['name']['string']}\"@";