You are here

protected function OGMTTestBase::_build_test_node in Open Graph meta tags 7.2

Same name and namespace in other branches
  1. 6 tests/TestBase.inc \OGMTTestBase::_build_test_node()
  2. 7 tests/TestBase.inc \OGMTTestBase::_build_test_node()

File

tests/TestBase.inc, line 35

Class

OGMTTestBase
Base test class

Code

protected function _build_test_node($nid) {
  $node = new stdClass();
  $node->nid = $nid;
  $node->title = 'test title';
  $node->type = 'type1';
  $this
    ->_set_node_body($node, str_pad('', 255, 'ab'));
  return $node;
}