updated core and modules

This commit is contained in:
Bachir Soussi Chiadmi
2017-09-09 16:27:51 +02:00
parent 027aa99b32
commit 41863f872c
7810 changed files with 318922 additions and 83631 deletions
+3 -3
View File
@@ -12,8 +12,8 @@ dependencies:
themes:
- stark
# Information added by Drupal.org packaging script on 2016-08-03
version: '8.1.8'
# Information added by Drupal.org packaging script on 2017-08-16
version: '8.3.7'
core: '8.x'
project: 'drupal'
datestamp: 1470233790
datestamp: 1502903957
+1
View File
@@ -1,4 +1,5 @@
<?php
/**
* @file
* Install, update and uninstall functions for the minimal installation profile.
@@ -0,0 +1,42 @@
<?php
namespace Drupal\Tests\minimal\Functional;
use Drupal\Tests\BrowserTestBase;
/**
* Tests Minimal installation profile expectations.
*
* @group minimal
*/
class MinimalTest extends BrowserTestBase {
protected $profile = 'minimal';
/**
* Tests Minimal installation profile.
*/
public function testMinimal() {
$this->drupalGet('');
// Check the login block is present.
$this->assertLink(t('Create new account'));
$this->assertResponse(200);
// Create a user to test tools and navigation blocks for logged in users
// with appropriate permissions.
$user = $this->drupalCreateUser(['access administration pages', 'administer content types']);
$this->drupalLogin($user);
$this->drupalGet('');
$this->assertText(t('Tools'));
$this->assertText(t('Administration'));
// Ensure that there are no pending updates after installation.
$this->drupalLogin($this->rootUser);
$this->drupalGet('update.php/selection');
$this->assertText('No pending updates.');
// Ensure that there are no pending entity updates after installation.
$this->assertFalse($this->container->get('entity.definition_update_manager')->needsUpdates(), 'After installation, entity schema is up to date.');
}
}