Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

NOISSUE - Fix SDK Tests #49

Merged
merged 3 commits into from
Nov 27, 2023

Conversation

rodneyosodo
Copy link
Member

What does this do?

Fix failing tests in sdk package.

Which issue(s) does this PR fix/relate to?

This relates to absmach/magistrala#2014

List any changes that modify/break current functionality

None

Have you included tests for your changes?

Yes

Did you document any new/modified functionality?

No

Notes

N/A

@rodneyosodo rodneyosodo force-pushed the 11-15-Fix_failing_tests_in_SDK branch 4 times, most recently from 10681e0 to 1270096 Compare November 20, 2023 13:16
@rodneyosodo rodneyosodo marked this pull request as draft November 21, 2023 12:51
@rodneyosodo rodneyosodo force-pushed the 11-15-Fix_failing_tests_in_SDK branch 2 times, most recently from 2ef761a to bb17eca Compare November 22, 2023 10:41
@rodneyosodo rodneyosodo marked this pull request as ready for review November 22, 2023 12:23
@rodneyosodo rodneyosodo force-pushed the 11-15-Fix_failing_tests_in_SDK branch from f61cd27 to 52bfd04 Compare November 23, 2023 13:03
* Fix users tests

Fix tests in users service to ensure there are no failing tests

* test: update tests with domains

Added test cases to cover the authn and authz functionality of the user service with domains integration.  The tests involve mocking function calls, setting up expectations, and checking for expected results. The code includes conditional statements and different scenarios to ensure the proper behavior of the functions.
This commit also fixes updating client secret

Signed-off-by: Rodney Osodo <[email protected]>

* NOISSUE - Fix loading Auth config (#64)

Fix bug in loading auth config and also refactor postgres connect

---------

Signed-off-by: Rodney Osodo <[email protected]>
Fix failing tests in `sdk` package.
Add domain integration and fix failing tests on SDK package

Signed-off-by: Rodney Osodo <[email protected]>
@rodneyosodo rodneyosodo force-pushed the 11-15-Fix_failing_tests_in_SDK branch from 52bfd04 to 90e2e26 Compare November 27, 2023 04:22
@dborovcanin dborovcanin merged commit 151eaeb into absmach:main Nov 27, 2023
2 checks passed
@rodneyosodo rodneyosodo deleted the 11-15-Fix_failing_tests_in_SDK branch December 12, 2023 17:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants