You are here

protected function PHPExcelTest::_createNode in PHPExcel 6.2

Same name and namespace in other branches
  1. 8.3 tests/phpexcel.test \PHPExcelTest::_createNode()
  2. 6 tests/phpexcel.test \PHPExcelTest::_createNode()
  3. 7.2 tests/phpexcel.test \PHPExcelTest::_createNode()
1 call to PHPExcelTest::_createNode()
PHPExcelTest::testDBResultExport in tests/phpexcel.test
Test db_result export.

File

tests/phpexcel.test, line 277
Defines the test case for phpexcel

Class

PHPExcelTest
@file Defines the test case for phpexcel

Code

protected function _createNode() {
  $node = array(
    'type' => 'page',
    'title' => $this
      ->randomName(8),
    'body' => $this
      ->randomName(20),
  );
  $this
    ->drupalCreateNode($node);
}