new: Add support for Parent/Child account switching#455
new: Add support for Parent/Child account switching#455lgarber-akamai merged 24 commits intolinode:proj/parent-childfrom
Conversation
Add UserType enum Add test case for user type User fixtures Add unit tests Oops
yec-akamai
left a comment
There was a problem hiding this comment.
Existing tests are passing 👍
11d1ad7 to
947e706
Compare
fff9d05 to
60432b9
Compare
|
Going to convert this back to a draft while I work to break some of the smaller changes into separate PRs |
9ff2ee2 to
0555ea3
Compare
|
|
zliang-akamai
left a comment
There was a problem hiding this comment.
Everything else tested and looks good!
|
@zliang-akamai Oops, looks like it was accidentally dropped when I was fixing some merge conflicts. I can fix it real quick 👍 |
yec-akamai
left a comment
There was a problem hiding this comment.
Nice work! Change looks good to me.
Unit tests and user tests passed locally. I still don't have the 1pass vault set up for my account, so can't run through the parent/child integration tests on my end.
📝 Description
This change adds preemptive support for the Parent/Child Account Switching feature, including the following changes:
UserTypefieldIn addition to the above changes, this change brings the
linodego.Accountstruct up to parity with the current API response.This change also makes the following testing/helper changes:
testpackage now has aunitdirectory for storing mock teststestpackage now importstestify/requireto make tests more conciseDepends on #458
✔️ How to Test
The following test steps assume you have pulled down this PR locally and are using the token and URL for a parent account in dev.
Unit Testing
E2E Testing
Manual Testing