You are here

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

Same name and namespace in other branches
  1. 6 tests/TestBase.inc \OGMTTestBase::_build_test_node()
  2. 7.2 tests/TestBase.inc \OGMTTestBase::_build_test_node()
6 calls to OGMTTestBase::_build_test_node()
OGMTBasicTest::testMetaTagsOnlyGetOutputOnce in tests/Basic.test
OGMTBasicTest::testNodeOverrideDefaultImage in tests/Basic.test
OGMTBasicTest::testNodeOverridesEmptyValues in tests/Basic.test
OGMTBasicTest::testOverridesWithDefaultFallbackValues in tests/Basic.test
OGMTBasicTest::testOverridesWithNodeSpecificValues in tests/Basic.test

... See full list

File

tests/TestBase.inc, line 51

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;
}