Update core 8.3.0

This commit is contained in:
Rob Davies 2017-04-13 15:53:35 +01:00
parent da7a7918f8
commit cd7a898e66
6144 changed files with 132297 additions and 87747 deletions

View file

@ -10,7 +10,7 @@ use \Drupal\Core\Config\Schema\SchemaIncompleteException;
trait SchemaConfigListenerTestTrait {
/**
* Tests \Drupal\Core\Config\Testing\ConfigSchemaChecker.
* Tests \Drupal\Core\Config\Development\ConfigSchemaChecker.
*/
public function testConfigSchemaChecker() {
// Test a non-existing schema.

View file

@ -0,0 +1,17 @@
<?php
namespace Drupal\Tests\Traits\Core;
/**
* Adds ability to run cron from tests.
*/
trait CronRunTrait {
/**
* Runs cron on the test site.
*/
protected function cronRun() {
$this->drupalGet('cron/' . \Drupal::state()->get('system.cron_key'));
}
}