diff --git a/core/modules/filter/src/Tests/FilterDefaultConfigTest.php b/core/modules/filter/src/Tests/FilterDefaultConfigTest.php index 5af4758..3a70b1a 100644 --- a/core/modules/filter/src/Tests/FilterDefaultConfigTest.php +++ b/core/modules/filter/src/Tests/FilterDefaultConfigTest.php @@ -40,13 +40,13 @@ function testInstallation() { $this->assertTrue((bool) $format); $this->assertEqual($format->id(), 'filter_test'); $this->assertEqual($format->label(), 'Test format'); - $this->assertEqual($format->get('weight'), 2); + $this->assertEqual($format->getWeight(), 2); // Verify that format default property values have been added/injected. $this->assertTrue($format->uuid()); // Verify that the loaded format does not contain any roles. - $this->assertEqual($format->get('roles'), NULL); + $this->assertEqual($format->getRoles(), NULL); // Verify that the defined roles in the default config have been processed. $this->assertEqual(array_keys(filter_get_roles_by_format($format)), array( DRUPAL_ANONYMOUS_RID, @@ -83,7 +83,7 @@ function testUpdateRoles() { )); // Attempt to change roles. - $format->set('roles', array( + $format->setRoles(), array( DRUPAL_AUTHENTICATED_RID, )); $format->save();