Now that #2462265: Return saving status when saving user entities is fixed this todo comment can be resolved:


  public function testSaveAndLoad() {
    foreach ($this->entityTypes as $entity_type_id => $info) {
      $ids = array();
      $entity = entity_create($entity_type_id, $info['info']);
      $return = $entity->save();
      // @todo Remove this check when https://www.drupal.org/node/2462265 will
      // be commited.
      if ($entity_type_id != 'user') {
        $this->assertEqual($return, SAVED_NEW, "$entity_type_id was saved.");
      }

Comments

stevector created an issue. See original summary.

dixon_’s picture

Bumping priority since #2462265: Return saving status when saving user entities is committed already.

dixon_’s picture

Priority: Normal » Major

...and actually bumping...

jeqq’s picture

Status: Active » Closed (fixed)

This has been fixed in other issue.