You are here

public function CerBasicTestCase::testCreate in Corresponding Entity References 7.3

File

tests/CerBasicTestCase.test, line 89

Class

CerBasicTestCase

Code

public function testCreate() {
  $author = $this
    ->reload('user', $this->author);
  $this
    ->assertEqual(1, $author->field_pages
    ->count());
  $this
    ->assertEqual($this->node->nid, $author->field_pages[0]->nid
    ->value());
}