Commit adfb94a0 authored by webchick's avatar webchick

Issue #2211621 by longwave, Kartagis: Spelling error in assertion message.

parent c31ecb25
......@@ -323,7 +323,7 @@ function testDefaultValue() {
// Check if default_date has been stored successfully.
$config_entity = $this->container->get('config.factory')->get('field.instance.node.date_content.' . $field->name)->get();
$this->assertEqual($config_entity['default_value'][0]['default_date'], 'now', 'Default value has been stored succesfully');
$this->assertEqual($config_entity['default_value'][0]['default_date'], 'now', 'Default value has been stored successfully');
// Clean field_info cache in order to avoid stale cache values.
field_info_cache_clear();
......@@ -345,7 +345,7 @@ function testDefaultValue() {
// Check if default_date has been stored successfully.
$config_entity = $this->container->get('config.factory')->get('field.instance.node.date_content.' . $field->name)->get();
$this->assertTrue(empty($config_entity['default_value']), 'Empty default value has been stored succesfully');
$this->assertTrue(empty($config_entity['default_value']), 'Empty default value has been stored successfully');
// Clean field_info cache in order to avoid stale cache values.
field_info_cache_clear();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment