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)
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
Unknown Object (File)
Mon, Oct 28, 10:34
Unknown Object (File)
Fri, Oct 18, 03:07
Unknown Object (File)
Oct 8 2024, 18:00
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.