[PR #3247] feat: api tests #3145

Open
opened 2026-10-14 21:07:48 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/3247
Author: @MrMirDan
Created: 10/1/2026
Status: 🔄 Open

Base: dev ← Head: feat/api-tests


📝 Commits (10+)

  • e5d7b1c added news ui test
  • a7746b7 fix: typos
  • 4b56880 added ui services model and controller api test
  • 7e2574c rewrited news test to use gateway and added services test to cmake and workflow
  • dc305d9 changed prem_key to amnezia_test_api_key
  • 6cb8490 fix: proper object name in services tests
  • 7f1e520 fix: removed last arg for makeServiceItem
  • 4217d57 various changes
  • 42d5172 added subscriptionControllerProtected to testCoreController
  • fe73bdc temporary checks

📊 Changes

10 files changed (+1358 additions, -140 deletions)

View changed files

📝 .github/workflows/deploy.yml (+28 -1)
📝 client/tests/api/CMakeLists.txt (+58 -8)
➕ client/tests/api/testApiBenefitsModel.cpp (+213 -0)
➕ client/tests/api/testApiCountryModel.cpp (+150 -0)
➕ client/tests/api/testApiDevicesModel.cpp (+136 -0)
➕ client/tests/api/testSubscriptionUiController.cpp (+107 -0)
➕ client/tests/api/testUiApiAccountInfoModel.cpp (+145 -0)
➖ client/tests/api/testUiApiServicesModelAndController.cpp (+0 -97)
📝 client/tests/api/testUiNewsModelAndController.cpp (+221 -34)
➕ client/tests/api/testUiServicesModelAndController.cpp (+300 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amnezia-client/pull/3247 **Author:** [@MrMirDan](https://github.com/MrMirDan) **Created:** 10/1/2026 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `feat/api-tests` --- ### 📝 Commits (10+) - [`e5d7b1c`](https://github.com/amnezia-vpn/amnezia-client/commit/e5d7b1c5fcc417e2af48ba2d3ede9826ce95cb11) added news ui test - [`a7746b7`](https://github.com/amnezia-vpn/amnezia-client/commit/a7746b723f69f095b0bf2c1f3eb0ad85eef7341b) fix: typos - [`4b56880`](https://github.com/amnezia-vpn/amnezia-client/commit/4b5688010ce3b4abff16ecc2231bd6f41b7dcaa4) added ui services model and controller api test - [`7e2574c`](https://github.com/amnezia-vpn/amnezia-client/commit/7e2574c9d9d4557a1257389740a041c4a8df90fa) rewrited news test to use gateway and added services test to cmake and workflow - [`dc305d9`](https://github.com/amnezia-vpn/amnezia-client/commit/dc305d968c851831aa6d21c24fed9e4b98d929f1) changed prem_key to amnezia_test_api_key - [`6cb8490`](https://github.com/amnezia-vpn/amnezia-client/commit/6cb8490c0ecc97f3017ee4a7c0047da62ee5a639) fix: proper object name in services tests - [`7f1e520`](https://github.com/amnezia-vpn/amnezia-client/commit/7f1e520f1a9ebacdb996967a6a170797effe9d15) fix: removed last arg for makeServiceItem - [`4217d57`](https://github.com/amnezia-vpn/amnezia-client/commit/4217d5795eedf172dc5292cd463e6de8ffcc3371) various changes - [`42d5172`](https://github.com/amnezia-vpn/amnezia-client/commit/42d517275bf897ebf73b7423f3ef442281c31267) added subscriptionControllerProtected to testCoreController - [`fe73bdc`](https://github.com/amnezia-vpn/amnezia-client/commit/fe73bdc49025cf642582527f191131854f8931c3) temporary checks ### 📊 Changes **10 files changed** (+1358 additions, -140 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/deploy.yml` (+28 -1) 📝 `client/tests/api/CMakeLists.txt` (+58 -8) ➕ `client/tests/api/testApiBenefitsModel.cpp` (+213 -0) ➕ `client/tests/api/testApiCountryModel.cpp` (+150 -0) ➕ `client/tests/api/testApiDevicesModel.cpp` (+136 -0) ➕ `client/tests/api/testSubscriptionUiController.cpp` (+107 -0) ➕ `client/tests/api/testUiApiAccountInfoModel.cpp` (+145 -0) ➖ `client/tests/api/testUiApiServicesModelAndController.cpp` (+0 -97) 📝 `client/tests/api/testUiNewsModelAndController.cpp` (+221 -34) ➕ `client/tests/api/testUiServicesModelAndController.cpp` (+300 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#3145
No description provided.