diff --git a/core/modules/image/lib/Drupal/image/Tests/ImageEffectsTest.php b/core/modules/image/lib/Drupal/image/Tests/ImageEffectsTest.php index f01b786..c693b7e 100644 --- a/core/modules/image/lib/Drupal/image/Tests/ImageEffectsTest.php +++ b/core/modules/image/lib/Drupal/image/Tests/ImageEffectsTest.php @@ -157,7 +157,7 @@ function testParameterEffect() { $this->assertImageEffect('image_module_test_parameter', array()); // Check that the effect has set the test parameter. - $this->assertEqual($style->getParameter('test_parameter'), 'test_value', 'Style parameter was set correctly by the effect'); + $this->assertEqual($this->style->getParameter('test_parameter'), 'test_value', 'Style parameter was set correctly by the effect'); } /**