FLUID-5583: IoC testing framework "event" fixture doesn't accept single-element "args" value

Metadata

Source
FLUID-5583
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2014-12-20T13:40:45.915-0500
Updated
2017-02-27T15:49:12.150-0500
Versions
N/A
Fixed Versions
  1. 2.0
Component
  1. IoC Testing Framework

Description

FLUID-5496 is incompletely implemented - this fixture doesn't accept a single object as the value of "args" which is supported everywhere else in the framework - for example, the following fixture is invalid:

{
event: "{decisionRequest}.events.onComplete",
listener: "gpii.test.cloudBased.oauth2.verifyDecisionResponse",
args: "{decisionRequest}"
}

and the args must be provided within an array.