You are here

protected function PHPExcelTest::createNode in PHPExcel 7.3

1 call to PHPExcelTest::createNode()
PHPExcelTest::testDBResultExport in tests/phpexcel.test
Test db_result export.

File

tests/phpexcel.test, line 502
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);
}