You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The $this->array($event->fields)->string['name']->contains('Copy of %s') should have fail because the name is "Copy of test event to clone". Most strange is I have the same code working and not working on different glpi branches, but the same atoum, php, etc... versions (I still cannot explain that).
In GLPI team, several person (incluging myself) already has quite strange issues with assertions on array values; but I cannot give more details, nor always reproducible use case right now.
The text was updated successfully, but these errors were encountered:
There are several strange behaviors when trying to tests array values from the array asserter.
An example I've just fixed (see glpi-project/glpi@01e3e10).
The
$this->array($event->fields)->string['name']->contains('Copy of %s')
should have fail because the name is "Copy of test event to clone". Most strange is I have the same code working and not working on different glpi branches, but the same atoum, php, etc... versions (I still cannot explain that).In GLPI team, several person (incluging myself) already has quite strange issues with assertions on array values; but I cannot give more details, nor always reproducible use case right now.
The text was updated successfully, but these errors were encountered: