blob: a85d26d9afc12c9008b79704b7559ba21bdc77fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<?php
class AdminAddonsStatusTest extends WebTestHelper {
function AdminConfigTest() {
$this->WebTestCase('Views->Admin->Addons Status Test');
}
function setUp() {
$this->login();
$this->getAction('/admin/addons?q=[7]');
}
function testRemoraPage() {
$this->assertWantedPattern('/Mozilla Add-ons/i', 'pattern detected');
$this->assertResponse('200');
}
/**
* There should be links for each version of the addon.
*/
function testVersionLinks() {
$this->assertLinkLocation('/editors/review/9', '9');
$this->assertLinkLocation('/editors/review/1', '1');
}
}
?>
|