You are here

protected function PHPExcelTest::_createNode in PHPExcel 7.2

Same name and namespace in other branches
  1. 8.3 tests/phpexcel.test \PHPExcelTest::_createNode()
  2. 6.2 tests/phpexcel.test \PHPExcelTest::_createNode()
  3. 6 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 344
Defines the test case for phpexcel

Class

PHPExcelTest
@file Defines the test case for phpexcel

Code

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