Page MenuHomePhabricator

Fix visibility of some `LiskDAO` methods
ClosedPublic

Authored by joshuaspence on Jan 15 2015, 12:40 PM.
Tags
None
Referenced Files
F15466755: D11410.diff
Thu, Apr 3, 9:21 AM
F15449307: D11410.id.diff
Fri, Mar 28, 9:23 AM
F15422946: D11410.id27422.diff
Sat, Mar 22, 11:35 AM
F15420395: D11410.id27401.diff
Fri, Mar 21, 1:44 PM
F15418451: D11410.id.diff
Thu, Mar 20, 11:26 PM
F15411918: D11410.diff
Wed, Mar 19, 10:20 AM
F15392552: D11410.diff
Sat, Mar 15, 3:53 PM
F15383844: D11410.id27401.diff
Fri, Mar 14, 6:08 PM
Subscribers

Details

Summary

Ref T6822.

Test Plan

Ran unit tests.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Fix visibility of some `LiskDAO` methods.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
epriestley added inline comments.
src/infrastructure/storage/lisk/__tests__/LiskIsolationTestCase.php
48–51

Since this is on a dedicated test object anyway, and we're testing the test-behavior of the test object, maybe consider defining a public method which calls the protected method instead of bypassing access.

On the other hand, that would make the test less pure. I'm not sure if the sanctity of the test or the sanctity of the visibility keyword is greater. O woe!

This revision is now accepted and ready to land.Jan 15 2015, 2:25 PM
src/infrastructure/storage/lisk/__tests__/LiskIsolationTestCase.php
48–51

I'm just going to leave this as is for now, mainly because I am not good at naming things.

This revision was automatically updated to reflect the committed changes.