forked from wet-boew/wet-boew-drupal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wetkit.test
44 lines (39 loc) · 1018 Bytes
/
wetkit.test
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
* @file
* Test code to assist in leveraging continuous integration for Drupal WxT.
*/
/**
* This Test class will test various functionality related to WxT-Drupal
*/
class WetKitArchivedWidgetTestCase extends WetKitWebTestCase {
/**
* Get information metadata.
*/
public static function getInfo() {
return array(
'name' => 'Archived widget pane',
'description' => 'Archived widget pane.',
'group' => 'WetKit',
);
}
/**
* SetUp dependencies.
*/
public function setUp() {
parent::setUp(
'page_manager',
'panels'
);
$this->testUser = $this->drupalCreateUser(array('access content'));
}
/**
* Test that the translation status pane works as expected.
*/
public function testArchivedWidgetPane() {
// Check that the plugin exists.
ctools_include('plugins');
$plugin = ctools_get_plugins('ctools', 'content_types', 'archived_widget');
$this->assertTrue($plugin, 'The archived widget plugin exists');
}
}