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
Comment #2
dixon_Bumping priority since #2462265: Return saving status when saving user entities is committed already.
Comment #3
dixon_...and actually bumping...
Comment #4
jeqq commentedThis has been fixed in other issue.