public function ViewsDataExportSimpleExportTest::testNonBatchedExport in Views data export 7.4
Same name and namespace in other branches
- 7.3 tests/base.test \ViewsDataExportSimpleExportTest::testNonBatchedExport()
Tests the non-batched export functionality for this style.
File
- tests/
base.test, line 338
Class
Code
public function testNonBatchedExport() {
$path = 'vde_test/' . $this
->randomName();
list($view, $expected) = $this
->getExportView($path);
// Save this view so we can hit the path.
$view
->save();
// Ensure that the menu router system is rebuilt on the next page load.
variable_set('menu_rebuild_needed', TRUE);
$this
->drupalGet($path);
$result = $this
->drupalGetContent();
$this
->assertExportEqual($result, $expected, 'Non batched ' . $this->vde_export_type . ' export matched expected output.');
}