Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate management API calls to apiv2 #4569

Merged
merged 5 commits into from May 19, 2022
Merged

migrate management API calls to apiv2 #4569

merged 5 commits into from May 19, 2022

Conversation

bkendall
Copy link
Contributor

@bkendall bkendall commented May 19, 2022

Description

Migrates all the API calls in the management folder to apiv2. Done by using nock in the tests (which validates the calls being made) and then replacing the actual calls, so I know the requests are the same.

Scenarios Tested

  • Test making/removing/listing apps
  • Test working with a database

@@ -61,21 +64,22 @@ function generateWebAppList(counts: number): WebAppMetadata[] {
}));
}

describe("App management", () => {
describe.only("App management", () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot an only

Copy link
Contributor

@joehan joehan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a .only in here

Copy link
Contributor

@joehan joehan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the .only, this looks good to me (once the 2 cases you listed are tested

@bkendall bkendall marked this pull request as ready for review May 19, 2022 21:10
@bkendall bkendall requested a review from joehan May 19, 2022 21:10
src/appdistribution/client.ts Outdated Show resolved Hide resolved
@bkendall bkendall merged commit d86c387 into master May 19, 2022
@bkendall bkendall deleted the bk-management branch May 19, 2022 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants