Page MenuHomeDevCentral

Refactor command:show to use ConfigReport
ClosedPublic

Authored by dereckson on Jan 1 2017, 04:44.
Tags
None
Referenced Files
F3911581: D790.diff
Thu, Dec 19, 03:17
Unknown Object (File)
Tue, Dec 17, 13:10
Unknown Object (File)
Mon, Dec 16, 22:22
Unknown Object (File)
Sun, Dec 15, 03:24
Unknown Object (File)
Sun, Dec 15, 03:24
Unknown Object (File)
Sun, Dec 15, 03:24
Unknown Object (File)
Sun, Dec 15, 03:24
Unknown Object (File)
Sun, Dec 15, 03:24
Subscribers
None

Details

Summary

This is a follow-up for f3fcf394ac9c.

Ref T1066.

Test Plan

Run tests

Diff Detail

Repository
rNOTIF Notifications center
Lint
Lint Passed
Unit
Test Failures
Branch
refactor-command-config-show (branched from master)
Build Status
Buildable 1209
Build 1457: arc lint + arc unit

Unit TestsBroken

TimeTest
66 msUnknown Unit Message ("")
Can't reach Phabricator API endpoint: https://phabricator.acme.tld/api/project.query /home/ubuntu/workspace/notifications/app/Phabricator/PhabricatorAPI.php:155 /home/ubuntu/workspace/notifications/app/Phabricator/PhabricatorAPI.php:96
10 msUnknown Unit Message ("")
Can't reach Phabricator API endpoint: https://phabricator.acme.tld/api/project.query /home/ubuntu/workspace/notifications/app/Phabricator/PhabricatorAPI.php:155 /home/ubuntu/workspace/notifications/app/Phabricator/PhabricatorAPI.php:96
9 msUnknown Unit Message ("")
Can't reach Phabricator API endpoint: https://phabricator.acme.tld/api/project.query /home/ubuntu/workspace/notifications/app/Phabricator/PhabricatorAPI.php:155 /home/ubuntu/workspace/notifications/app/Phabricator/PhabricatorAPI.php:96
10 msUnknown Unit Message ("")
Can't reach Phabricator API endpoint: https://phabricator.acme.tld/api/project.query /home/ubuntu/workspace/notifications/app/Phabricator/PhabricatorAPI.php:155 /home/ubuntu/workspace/notifications/app/Phabricator/PhabricatorAPI.php:96
12 msUnknown Unit Message ("")
Can't reach Phabricator API endpoint: https://phabricator.acme.tld/api/project.query /home/ubuntu/workspace/notifications/app/Phabricator/PhabricatorAPI.php:155 /home/ubuntu/workspace/notifications/app/Phabricator/PhabricatorAPI.php:96

Event Timeline

dereckson edited edge metadata.

BaseReportEntry helper static methods

More tests for Nasqueron\Notifications\Tests\Config\Reporting classes

Don't run logic in command constructor, we need to mock services in container before.

dereckson added inline comments.
app/Console/Commands/ConfigShow.php
8

Unused

tests/Config/Reporting/ServiceReportEntryTest.php
36 ↗(On Diff #2012)

Fill this or drop the test (we already test that through config:show test).

dereckson marked 2 inline comments as done.

Prune unused code

This revision is now accepted and ready to land.Jan 3 2017, 02:25
This revision was automatically updated to reflect the committed changes.