Page MenuHomePhabricator

Fix visibility of some `LiskDAO` methods
ClosedPublic

Authored by joshuaspence on Jan 15 2015, 12:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 31, 5:26 AM
Unknown Object (File)
Wed, Aug 28, 7:01 PM
Unknown Object (File)
Tue, Aug 27, 3:07 PM
Unknown Object (File)
Sat, Aug 24, 8:47 PM
Unknown Object (File)
Mon, Aug 19, 10:08 PM
Unknown Object (File)
Sat, Aug 17, 10:16 PM
Unknown Object (File)
Wed, Aug 14, 6:43 PM
Unknown Object (File)
Aug 4 2024, 7:43 PM
Subscribers

Details

Summary

Ref T6822.

Test Plan

Ran unit tests.

Diff Detail

Repository
rP Phabricator
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 3871
Build 3883: [Placeholder Plan] Wait for 30 Seconds

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–50

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–50

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.