diff --git a/core/modules/config/src/Tests/ConfigSchemaTest.php b/core/modules/config/src/Tests/ConfigSchemaTest.php index da3e3b3..19967a1 100644 --- a/core/modules/config/src/Tests/ConfigSchemaTest.php +++ b/core/modules/config/src/Tests/ConfigSchemaTest.php @@ -282,9 +282,9 @@ function testSchemaData() { // Check nested array of properties. $list = $meta->get('page'); - $this->assertTrue(!empty($list->get('front'))); - $this->assertTrue(!empty($list->get('403'))); - $this->assertTrue(!empty($list->get('404'))); + $this->assertTrue((bool) $list->get('front')); + $this->assertTrue((bool) $list->get('403')); + $this->assertTrue((bool) $list->get('404')); $this->assertEqual($list->get('front')->getValue(), 'user/login', 'Got the right value for page.front data from the list.'); // And test some TraversableTypedDataInterface methods.