You are here

public function PMPAPIPullWebTestCase::testPmpAPIPullPullStory in Public Media Platform API Integration 7

Pulls a story doc from the PMP and maps it to a node.

File

pmpapi_pull/tests/pmpapi_pull.test, line 90

Class

PMPAPIPullWebTestCase
Tests the functionality of the PMPAPI pull module.

Code

public function testPmpAPIPullPullStory() {
  $this
    ->createContentType();
  $node = pmpapi_pull_pull_doc($this->story_guid);
  $this
    ->assertTrue($node->nid, 'Pulled story and created node.');
}