Update to Drupal 8.1.2. For more information, see https://www.drupal.org/project/drupal/releases/8.1.2

This commit is contained in:
Pantheon Automation 2016-06-02 15:56:09 -07:00 committed by Greg Anderson
parent 9eae24d844
commit 28556d630e
1322 changed files with 6699 additions and 2064 deletions

View file

@ -170,7 +170,7 @@ function node_test_entity_view_mode_alter(&$view_mode, EntityInterface $entity,
function node_test_node_insert(NodeInterface $node) {
// Set the node title to the node ID and save.
if ($node->getTitle() == 'new') {
$node->setTitle('Node '. $node->id());
$node->setTitle('Node ' . $node->id());
$node->setNewRevision(FALSE);
$node->save();
}

View file

@ -13,7 +13,7 @@ use Drupal\node\NodeInterface;
*/
class MigrateNodeTest extends MigrateDrupal7TestBase {
static $modules = array(
public static $modules = array(
'comment',
'datetime',
'filter',

View file

@ -35,6 +35,7 @@ class MigrateNodeTypeTest extends MigrateDrupal7TestBase {
* Tests a single node type.
*
* @dataProvider testNodeTypeDataProvider
*
* @param string $id
* The node type ID.
* @param string $label

View file

@ -79,4 +79,5 @@ class NodeConditionTest extends EntityKernelTestBase {
$condition = $manager->createInstance('node_type', array('bundles' => array('article' => 'article'), 'context' => array('node' => $article)));
$this->assertTrue($condition->execute(), 'Constructor injection of context and configuration working as anticipated.');
}
}

View file

@ -68,4 +68,5 @@ class NodeValidationTest extends EntityKernelTestBase {
$this->assertEqual($violations[0]->getPropertyPath(), '');
$this->assertEqual($violations[0]->getMessage(), 'The content has either been modified by another user, or you have already submitted modifications. As a result, your changes cannot be saved.');
}
}

View file

@ -71,5 +71,4 @@ class RevisionCreateTimestampTest extends ViewsKernelTestBase {
], ['vid' => 'vid', 'revision_timestamp' => 'revision_timestamp']);
}
}