Update to Drupal 8.0.6. For more information, see https://www.drupal.org/drupal-8.0.6-release-notes
This commit is contained in:
parent
4297c64508
commit
b11a755ba8
159 changed files with 2340 additions and 543 deletions
|
@ -13,7 +13,7 @@ use Drupal\Core\Form\FormStateInterface;
|
|||
use Drupal\Core\Language\LanguageManagerInterface;
|
||||
|
||||
/**
|
||||
* Form controller for the profile forms.
|
||||
* Form handler for the profile forms.
|
||||
*/
|
||||
class ProfileForm extends AccountForm {
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ use Drupal\Core\Form\FormStateInterface;
|
|||
use Drupal\Core\Language\LanguageManagerInterface;
|
||||
|
||||
/**
|
||||
* Form controller for the user register forms.
|
||||
* Form handler for the user register forms.
|
||||
*/
|
||||
class RegisterForm extends AccountForm {
|
||||
|
||||
|
|
|
@ -54,6 +54,11 @@ EOT;
|
|||
$this->assertIdentical('Queen', $user->profile_bands[5]->value);
|
||||
$this->assertIdentical('The White Stripes', $user->profile_bands[6]->value);
|
||||
$this->assertIdentical('1974-06-02', $user->profile_birthdate->value);
|
||||
$this->assertIdentical('http://example.com/blog', $user->profile_blog->uri);
|
||||
$this->assertNull($user->profile_blog->title);
|
||||
$this->assertIdentical([], $user->profile_blog->options);
|
||||
$this->assertIdentical('http://example.com/blog', $user->profile_blog->uri);
|
||||
$this->assertNull($user->profile_love_migrations->value);
|
||||
|
||||
$user = User::load(8);
|
||||
$this->assertIdentical('Forward/slash', $user->profile_sold_to->value);
|
||||
|
|
Reference in a new issue