Révision 5d12d676
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/views/tests/views_glossary.test | ||
---|---|---|
37 | 37 |
); |
38 | 38 |
foreach ($nodes_per_char as $char => $count) { |
39 | 39 |
$setting = array( |
40 |
'type' => $type->type |
|
40 |
'type' => $type->type,
|
|
41 | 41 |
); |
42 | 42 |
for ($i = 0; $i < $count; $i++) { |
43 | 43 |
$node = $setting; |
... | ... | |
46 | 46 |
} |
47 | 47 |
} |
48 | 48 |
|
49 |
// Execute glossary view |
|
49 |
// Execute glossary view.
|
|
50 | 50 |
$view = views_get_view('glossary'); |
51 | 51 |
$view->set_display('attachment'); |
52 | 52 |
$view->execute_display('attachment'); |
... | ... | |
57 | 57 |
$this->assertEqual($nodes_per_char[$item->title_truncated], $item->num_records); |
58 | 58 |
} |
59 | 59 |
} |
60 |
|
|
60 | 61 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules