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, Jan 29, 10:24
Unknown Object (File)
Wed, Jan 29, 10:24
Unknown Object (File)
Wed, Jan 29, 10:24
Unknown Object (File)
Wed, Jan 29, 10:24
Unknown Object (File)
Sun, Jan 26, 00:29
Unknown Object (File)
Fri, Jan 24, 04:59
Unknown Object (File)
Wed, Jan 22, 12:09
Unknown Object (File)
Wed, Jan 22, 06:10
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 Passed
Unit
Tests Passed
Branch
services

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.