Review main Merged

30323[BUGFIX] Fix failing unit tests for HTTP host check in CLI mode

Helmut Hummel CR +2 V +2 Easy +23 −5 updated 05/22/14, 11:48

Commit message

The unit tests for the recent HTTP host fix are failing
if executed in CLI mode.
In CLI mode no server environments and HTTP headers are available,
that's why the behavior needs to know about the
test execution process.

We solve this by mocking allowed request types.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 3