blob: 757ee16baba7a8145242f556a00d7e2211e583dd (
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('/'.SITE_NAME.'/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');
}
}
?>
|