Skip to content

Conversation

josecelano
Copy link
Member

@josecelano josecelano commented Mar 10, 2023

Reorganize API in contexts:

Production code:

  • Extract API context auth_key.
  • Extract API context stats.
  • Extract API context torrent.
  • Extract API context whitelist.

Integration tests:

  • Extract test for context auth_key.
  • Extract test for context stats.
  • Extract test for context torrent.
  • Extract test for context whitelist.

@josecelano josecelano linked an issue Mar 10, 2023 that may be closed by this pull request
@josecelano josecelano force-pushed the issue-157-reorganize-api-folder-structure branch from 40c13fd to 996dffd Compare March 10, 2023 18:31
@josecelano josecelano force-pushed the issue-157-reorganize-api-folder-structure branch from 996dffd to 19d33b4 Compare March 10, 2023 18:52
@josecelano
Copy link
Member Author

I've finished with the production code, now I will reorganize the test mods to mirror the production code.

After changing production code we follow the API contexts structure in
tests too.
@josecelano josecelano marked this pull request as ready for review March 12, 2023 09:45
@josecelano josecelano merged commit 2a60771 into torrust:develop Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

API overhaul: refactor API folder structure

1 participant