Projet

Général

Profil

Paste
Télécharger (902 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / panelizer / tests / panelizer.with_views.test @ a2bb1a14

1
<?php
2
/**
3
 * @file
4
 * Test the Views integration for Panelizer.
5
 */
6

    
7
/**
8
 *
9
 */
10
class PanelizerWithViewsTest extends PanelizerTestHelper {
11

    
12
  /**
13
   * {@inheritdoc}
14
   */
15
  public static function getInfo() {
16
    return array(
17
      'name' => 'Panelizer w Views',
18
      'description' => 'Test Views integration.',
19
      'group' => 'Panelizer',
20
    );
21
  }
22

    
23
  /**
24
   * {@inheritdoc}
25
   */
26
  function setUp(array $modules = array()) {
27
    $modules[] = 'views';
28
    $modules[] = 'views_ui';
29
    parent::setUp($modules);
30

    
31
    $perms = array(
32
      // Standard node permissions.
33
      'create page content',
34
      'administer content types',
35
      'administer nodes',
36
      'bypass node access',
37

    
38
      // Panelizer.
39
      'administer panelizer',
40
    );
41
    $web_user = $this->drupalCreateUser($perms);
42
    $this->drupalLogin($web_user);
43
  }
44

    
45
  /**
46
   *
47
   */
48
  function testSomething() {
49
    // @todo
50
  }
51

    
52
}