diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/integration/features/bootstrap/CapabilitiesContext.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/integration/features/bootstrap/CapabilitiesContext.php b/build/integration/features/bootstrap/CapabilitiesContext.php index d30984f0db7..83d5f5fd2f3 100644 --- a/build/integration/features/bootstrap/CapabilitiesContext.php +++ b/build/integration/features/bootstrap/CapabilitiesContext.php @@ -39,9 +39,9 @@ class CapabilitiesContext implements Context, SnippetAcceptingContext { foreach ($formData->getHash() as $row) { $path_to_element = explode('@@@', $row['path_to_element']); - $answeredValue = $capabilitiesXML->$row['capability']; + $answeredValue = $capabilitiesXML->{$row['capability']}; for ($i = 0; $i < count($path_to_element); $i++){ - $answeredValue = $answeredValue->$path_to_element[$i]; + $answeredValue = $answeredValue->{$path_to_element[$i]}; } $answeredValue = (string)$answeredValue; PHPUnit_Framework_Assert::assertEquals( |