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
Unknown Object (File)
Tue, Dec 17, 10:02
Unknown Object (File)
Tue, Dec 17, 07:29
Unknown Object (File)
Sat, Dec 14, 17:47
Unknown Object (File)
Sat, Dec 14, 17:28
Unknown Object (File)
Thu, Dec 12, 19:32
Unknown Object (File)
Wed, Dec 11, 06:13
Unknown Object (File)
Wed, Dec 11, 05:50
Unknown Object (File)
Wed, Dec 4, 18:08
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.