You are here

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

Pulls an image doc from the PMP and maps it to an image entity.

File

pmpapi_pull/tests/pmpapi_pull.test, line 99

Class

PMPAPIPullWebTestCase
Tests the functionality of the PMPAPI pull module.

Code

public function testPmpAPIPullPullImage() {
  $image = pmpapi_pull_pull_doc($this->image_guid);
  $this
    ->assertTrue($image->fid, 'Pulled image and create image file entity.');
}