Update to Drupal 8.0.0 beta 14. For more information, see https://drupal.org/node/2544542
This commit is contained in:
parent
3b2511d96d
commit
81ccda77eb
2155 changed files with 54307 additions and 46870 deletions
|
@ -8,6 +8,7 @@
|
|||
namespace Drupal\rdf\Tests;
|
||||
|
||||
use Drupal\file\Tests\FileFieldTestBase;
|
||||
use Drupal\file\Entity\File;
|
||||
|
||||
/**
|
||||
* Tests the RDFa markup of filefields.
|
||||
|
@ -68,8 +69,7 @@ class FileFieldAttributesTest extends FileFieldTestBase {
|
|||
|
||||
$node_storage->resetCache(array($nid));
|
||||
$this->node = $node_storage->load($nid);
|
||||
$this->file = file_load($this->node->{$this->fieldName}->target_id);
|
||||
|
||||
$this->file = File::load($this->node->{$this->fieldName}->target_id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -10,6 +10,7 @@ namespace Drupal\rdf\Tests;
|
|||
use Drupal\image\Entity\ImageStyle;
|
||||
use Drupal\image\Tests\ImageFieldTestBase;
|
||||
use Drupal\node\Entity\Node;
|
||||
use Drupal\file\Entity\File;
|
||||
|
||||
/**
|
||||
* Tests the RDFa markup of imagefields.
|
||||
|
@ -69,7 +70,7 @@ class ImageFieldAttributesTest extends ImageFieldTestBase {
|
|||
// Save a node with the image.
|
||||
$nid = $this->uploadNodeImage($image, $this->fieldName, 'article', $this->randomMachineName());
|
||||
$this->node = Node::load($nid);
|
||||
$this->file = file_load($this->node->{$this->fieldName}->target_id);
|
||||
$this->file = File::load($this->node->{$this->fieldName}->target_id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue