Page MenuHomeDevCentral

Fixed issue when credentials.json is not defined in the config
ClosedPublic

Authored by dereckson on Jan 12 2016, 01:30.
Tags
None
Referenced Files
F3750175: D230.id541.diff
Sat, Nov 16, 21:55
F3750171: D230.id540.diff
Sat, Nov 16, 21:47
F3749991: D230.diff
Sat, Nov 16, 19:57
Unknown Object (File)
Wed, Nov 13, 13:49
Unknown Object (File)
Wed, Nov 13, 13:11
Unknown Object (File)
Thu, Nov 7, 03:02
Unknown Object (File)
Thu, Nov 7, 02:34
Unknown Object (File)
Fri, Nov 1, 19:20
Subscribers
None

Details

Summary

As Storage::has(null) returns true and not false,
an exception were thrown by JsonMapper when the configuration
didn't contain a services.gate.credentials value.

Adding unit tests.

Test Plan

phpunit

Diff Detail

Repository
rNOTIF Notifications center
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson retitled this revision from to Fixed issue when credentials.json is not defined in the config.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: dereckson.
dereckson updated this object.
dereckson edited edge metadata.
dereckson removed a subscriber: alken-orin.
This revision is now accepted and ready to land.Jan 12 2016, 01:32
This revision was automatically updated to reflect the committed changes.