palantirnet / palantir-behat-extension

Additional step definitions for testing Drupal sites using Behat.
1 stars 4 forks source link

Changed $field_value array check #14

Closed patrickfweston closed 8 years ago

patrickfweston commented 8 years ago

This pull request address issue #13 where Then entity field :field should contain :value would fail on any test.

The code was updated to meet coding standards and the following line was incorrectly updated:

$field_value = is_array($field_value) ? $field_value : array($field_value);

This pull request fixes the conversion and maintains the new coding standard.