You are here

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

Attempts to pull a story doc with a bad GUID.

File

pmpapi_pull/tests/pmpapi_pull.test, line 119

Class

PMPAPIPullWebTestCase
Tests the functionality of the PMPAPI pull module.

Code

public function testPmpAPIPullTryBadDoc() {
  $this
    ->createContentType();
  $node = pmpapi_pull_pull_doc('1234');
  $this
    ->assertFalse($node, 'Failed to pull bogus GUID.');
}