Update core 8.3.0
This commit is contained in:
parent
da7a7918f8
commit
cd7a898e66
6144 changed files with 132297 additions and 87747 deletions
|
@ -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.
|
||||
|
|
17
web/core/tests/Drupal/Tests/Traits/Core/CronRunTrait.php
Normal file
17
web/core/tests/Drupal/Tests/Traits/Core/CronRunTrait.php
Normal 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'));
|
||||
}
|
||||
|
||||
}
|
Reference in a new issue