-
Notifications
You must be signed in to change notification settings - Fork 5
Add Integration Tests #816
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
Conversation
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
- Kafka token issuance - Kafka token redemption - V1 HTTP Issuer GET endpoint - V1 HTTP Token Redemption POST endpoint - V3 HTTP Token Redemption POST endpoint This checks the entire token redemption flow for all known production use cases as well as checks that duplicate redemtion fails. There are some cases with time limited issuers where a token is issued for a future issuer whose redemption fails. These tokens are tested and verified to fail as expected.
abe7f82 to
12b7ac1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds comprehensive integration tests for the challenge-bypass system, including complete end-to-end flows for token issuance and redemption via Kafka and HTTP endpoints. The tests verify the entire system working together with all dependencies (PostgreSQL, Kafka, DynamoDB).
- Added full integration test suite covering Kafka token flows and HTTP endpoints
- Enhanced logging and debugging capabilities for development and testing
- Updated build configuration and CI pipeline to support integration testing
Reviewed Changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| integration-tests/intergration_test.go | New comprehensive integration test file with end-to-end token flows |
| docker-compose.integration.yml | Test environment configuration with all required services |
| Dockerfile.test | Test-specific container configuration for running integration tests |
| Makefile | Added integration test commands and cleanup utilities |
| .github/workflows/integration-tests.yml | CI workflow for automated integration testing |
| README.md | Updated documentation with integration test instructions |
| utils/test/dynamodb.go | Adjusted timeout for table activation in test environment |
| server/.go, kafka/.go | Enhanced logging and debugging output for integration tests |
| go.mod | Updated testify dependency to latest version |
kdenhartog
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't see any issues with the postgres warnings and I see v3 was pinned
This LGTM from security perspective
Address PR comments regarding testing structure.
clD11
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with comments
|
[puLL-Merge] - brave-intl/challenge-bypass-server@816 DescriptionThis PR adds comprehensive integration tests to the challenge-bypass-server project. The changes introduce a new GitHub Actions workflow, Docker-based integration test setup, and extensive test coverage for the token issuance and redemption flows. The integration tests verify end-to-end functionality including Kafka messaging, database operations, and HTTP endpoints using containerized services (PostgreSQL, Kafka, Zookeeper, LocalStack for DynamoDB). Possible Issues
Security Hotspots
ChangesChanges
sequenceDiagram
participant GH as GitHub Actions
participant Docker as Docker Compose
participant Kafka as Kafka
participant DB as PostgreSQL
participant DDB as LocalStack/DynamoDB
participant CBP as Challenge Bypass Server
participant Tests as Integration Tests
GH->>Docker: make integration-test
Docker->>DB: Start PostgreSQL
Docker->>Kafka: Start Kafka + Zookeeper
Docker->>DDB: Start LocalStack
Docker->>CBP: Start application
Note over Docker: Wait for services to be ready
Docker->>Tests: Build and run test container
Tests->>CBP: POST /v3/issuer/ (create issuer)
CBP->>DB: Store issuer configuration
Tests->>Kafka: Send token signing request
CBP->>Kafka: Consume signing request
CBP->>CBP: Generate signed tokens
CBP->>Kafka: Publish signing results
Tests->>Kafka: Consume signing results
Tests->>CBP: POST /v1/blindedToken/{issuer}/redemption/
CBP->>DB: Check token redemption
CBP->>DDB: Store redemption record
CBP-->>Tests: Return success response
Tests->>Kafka: Send redemption request
CBP->>Kafka: Consume redemption request
CBP->>DB: Verify token and issuer
CBP->>DDB: Check for duplicate redemption
CBP->>Kafka: Publish redemption result
Tests->>Kafka: Consume redemption result
Tests->>CBP: POST same token (duplicate test)
CBP-->>Tests: Return 409 Conflict
Tests-->>Docker: Test completion
Docker->>Docker: Clean up containers and volumes
|
* Remove bat-go dialer * Fix dependency naming * Make log level configurable * Add Integration Tests (#816) * Add Integration Tests - Kafka token issuance - Kafka token redemption - V1 HTTP Issuer GET endpoint - V1 HTTP Token Redemption POST endpoint - V3 HTTP Token Redemption POST endpoint This checks the entire token redemption flow for all known production use cases as well as checks that duplicate redemtion fails. There are some cases with time limited issuers where a token is issued for a future issuer whose redemption fails. These tokens are tested and verified to fail as expected. * Tidy * Correct test name * Correct README * Rename integration test file * Address simple PR feedback * Remove unneeded type * Integration testing pr feedback (#827) Address PR comments regarding testing structure. * Enable specifying an integration test * Address feedback * Adjust import order * Alter error handling for dynamo change * Add suggested change * Remove dependency (#819) * Add MSK TLS v1.2 to Kafka dialer (#826) Co-authored-by: Jackson <[email protected]> * Fix prod branch naming (#829) --------- Co-authored-by: Harold Spencer Jr. <[email protected]>
* Remove bat-go dialer * Fix dependency naming * Make log level configurable * Add Integration Tests (#816) * Add Integration Tests - Kafka token issuance - Kafka token redemption - V1 HTTP Issuer GET endpoint - V1 HTTP Token Redemption POST endpoint - V3 HTTP Token Redemption POST endpoint This checks the entire token redemption flow for all known production use cases as well as checks that duplicate redemtion fails. There are some cases with time limited issuers where a token is issued for a future issuer whose redemption fails. These tokens are tested and verified to fail as expected. * Tidy * Correct test name * Correct README * Rename integration test file * Address simple PR feedback * Remove unneeded type * Integration testing pr feedback (#827) Address PR comments regarding testing structure. * Enable specifying an integration test * Address feedback * Adjust import order * Alter error handling for dynamo change * Add suggested change * Remove dependency (#819) * Add MSK TLS v1.2 to Kafka dialer (#826) Co-authored-by: Jackson <[email protected]> * Fix prod branch naming (#829) * Fix metrics registration failure after panic (#830) --------- Co-authored-by: Harold Spencer Jr. <[email protected]>
* Release Simple Dependency Removal (#828) * Remove bat-go dialer * Fix dependency naming * Make log level configurable * Add Integration Tests (#816) * Add Integration Tests - Kafka token issuance - Kafka token redemption - V1 HTTP Issuer GET endpoint - V1 HTTP Token Redemption POST endpoint - V3 HTTP Token Redemption POST endpoint This checks the entire token redemption flow for all known production use cases as well as checks that duplicate redemtion fails. There are some cases with time limited issuers where a token is issued for a future issuer whose redemption fails. These tokens are tested and verified to fail as expected. * Tidy * Correct test name * Correct README * Rename integration test file * Address simple PR feedback * Remove unneeded type * Integration testing pr feedback (#827) Address PR comments regarding testing structure. * Enable specifying an integration test * Address feedback * Adjust import order * Alter error handling for dynamo change * Add suggested change * Remove dependency (#819) * Add MSK TLS v1.2 to Kafka dialer (#826) Co-authored-by: Jackson <[email protected]> * Fix prod branch naming (#829) --------- Co-authored-by: Harold Spencer Jr. <[email protected]> * Release 2025-09-19 (#834) * Remove bat-go dialer * Fix dependency naming * Make log level configurable * Add Integration Tests (#816) * Add Integration Tests - Kafka token issuance - Kafka token redemption - V1 HTTP Issuer GET endpoint - V1 HTTP Token Redemption POST endpoint - V3 HTTP Token Redemption POST endpoint This checks the entire token redemption flow for all known production use cases as well as checks that duplicate redemtion fails. There are some cases with time limited issuers where a token is issued for a future issuer whose redemption fails. These tokens are tested and verified to fail as expected. * Tidy * Correct test name * Correct README * Rename integration test file * Address simple PR feedback * Remove unneeded type * Integration testing pr feedback (#827) Address PR comments regarding testing structure. * Enable specifying an integration test * Address feedback * Adjust import order * Alter error handling for dynamo change * Add suggested change * Remove dependency (#819) * Add MSK TLS v1.2 to Kafka dialer (#826) Co-authored-by: Jackson <[email protected]> * Fix prod branch naming (#829) * Fix metrics registration failure after panic (#830) --------- Co-authored-by: Harold Spencer Jr. <[email protected]> --------- Co-authored-by: husobee <[email protected]> Co-authored-by: eV <[email protected]> Co-authored-by: Ian Krieger <[email protected]> Co-authored-by: Harold Spencer Jr. <[email protected]>
* Release Simple Dependency Removal (#828) * Remove bat-go dialer * Fix dependency naming * Make log level configurable * Add Integration Tests (#816) * Add Integration Tests - Kafka token issuance - Kafka token redemption - V1 HTTP Issuer GET endpoint - V1 HTTP Token Redemption POST endpoint - V3 HTTP Token Redemption POST endpoint This checks the entire token redemption flow for all known production use cases as well as checks that duplicate redemtion fails. There are some cases with time limited issuers where a token is issued for a future issuer whose redemption fails. These tokens are tested and verified to fail as expected. * Tidy * Correct test name * Correct README * Rename integration test file * Address simple PR feedback * Remove unneeded type * Integration testing pr feedback (#827) Address PR comments regarding testing structure. * Enable specifying an integration test * Address feedback * Adjust import order * Alter error handling for dynamo change * Add suggested change * Remove dependency (#819) * Add MSK TLS v1.2 to Kafka dialer (#826) * Fix prod branch naming (#829) --------- * Release 2025-09-19 (#834) * Remove bat-go dialer * Fix dependency naming * Make log level configurable * Add Integration Tests (#816) * Add Integration Tests - Kafka token issuance - Kafka token redemption - V1 HTTP Issuer GET endpoint - V1 HTTP Token Redemption POST endpoint - V3 HTTP Token Redemption POST endpoint This checks the entire token redemption flow for all known production use cases as well as checks that duplicate redemtion fails. There are some cases with time limited issuers where a token is issued for a future issuer whose redemption fails. These tokens are tested and verified to fail as expected. * Tidy * Correct test name * Correct README * Rename integration test file * Address simple PR feedback * Remove unneeded type * Integration testing pr feedback (#827) Address PR comments regarding testing structure. * Enable specifying an integration test * Address feedback * Adjust import order * Alter error handling for dynamo change * Add suggested change * Remove dependency (#819) * Add MSK TLS v1.2 to Kafka dialer (#826) * Fix prod branch naming (#829) * Fix metrics registration failure after panic (#830) --------- --------- Co-authored-by: husobee <[email protected]> Co-authored-by: eV <[email protected]> Co-authored-by: Ian Krieger <[email protected]> Co-authored-by: Harold Spencer Jr. <[email protected]>
* Align Prod and Master (#836) * Release Simple Dependency Removal (#828) * Remove bat-go dialer * Fix dependency naming * Make log level configurable * Add Integration Tests (#816) * Add Integration Tests - Kafka token issuance - Kafka token redemption - V1 HTTP Issuer GET endpoint - V1 HTTP Token Redemption POST endpoint - V3 HTTP Token Redemption POST endpoint This checks the entire token redemption flow for all known production use cases as well as checks that duplicate redemtion fails. There are some cases with time limited issuers where a token is issued for a future issuer whose redemption fails. These tokens are tested and verified to fail as expected. * Tidy * Correct test name * Correct README * Rename integration test file * Address simple PR feedback * Remove unneeded type * Integration testing pr feedback (#827) Address PR comments regarding testing structure. * Enable specifying an integration test * Address feedback * Adjust import order * Alter error handling for dynamo change * Add suggested change * Remove dependency (#819) * Add MSK TLS v1.2 to Kafka dialer (#826) Co-authored-by: Jackson <[email protected]> * Fix prod branch naming (#829) --------- Co-authored-by: Harold Spencer Jr. <[email protected]> * Release 2025-09-19 (#834) * Remove bat-go dialer * Fix dependency naming * Make log level configurable * Add Integration Tests (#816) * Add Integration Tests - Kafka token issuance - Kafka token redemption - V1 HTTP Issuer GET endpoint - V1 HTTP Token Redemption POST endpoint - V3 HTTP Token Redemption POST endpoint This checks the entire token redemption flow for all known production use cases as well as checks that duplicate redemtion fails. There are some cases with time limited issuers where a token is issued for a future issuer whose redemption fails. These tokens are tested and verified to fail as expected. * Tidy * Correct test name * Correct README * Rename integration test file * Address simple PR feedback * Remove unneeded type * Integration testing pr feedback (#827) Address PR comments regarding testing structure. * Enable specifying an integration test * Address feedback * Adjust import order * Alter error handling for dynamo change * Add suggested change * Remove dependency (#819) * Add MSK TLS v1.2 to Kafka dialer (#826) Co-authored-by: Jackson <[email protected]> * Fix prod branch naming (#829) * Fix metrics registration failure after panic (#830) --------- Co-authored-by: Harold Spencer Jr. <[email protected]> --------- Co-authored-by: husobee <[email protected]> Co-authored-by: eV <[email protected]> Co-authored-by: Ian Krieger <[email protected]> Co-authored-by: Harold Spencer Jr. <[email protected]> * Remove extra UUID package from dependencies (#821) --------- Co-authored-by: husobee <[email protected]> Co-authored-by: eV <[email protected]> Co-authored-by: Ian Krieger <[email protected]> Co-authored-by: Harold Spencer Jr. <[email protected]>
* Fix metrics registration failure after panic (#830) * Align Prod and Master (#836) * Release Simple Dependency Removal (#828) * Remove bat-go dialer * Fix dependency naming * Make log level configurable * Add Integration Tests (#816) * Add Integration Tests - Kafka token issuance - Kafka token redemption - V1 HTTP Issuer GET endpoint - V1 HTTP Token Redemption POST endpoint - V3 HTTP Token Redemption POST endpoint This checks the entire token redemption flow for all known production use cases as well as checks that duplicate redemtion fails. There are some cases with time limited issuers where a token is issued for a future issuer whose redemption fails. These tokens are tested and verified to fail as expected. * Tidy * Correct test name * Correct README * Rename integration test file * Address simple PR feedback * Remove unneeded type * Integration testing pr feedback (#827) Address PR comments regarding testing structure. * Enable specifying an integration test * Address feedback * Adjust import order * Alter error handling for dynamo change * Add suggested change * Remove dependency (#819) * Add MSK TLS v1.2 to Kafka dialer (#826) Co-authored-by: Jackson <[email protected]> * Fix prod branch naming (#829) --------- Co-authored-by: Harold Spencer Jr. <[email protected]> * Release 2025-09-19 (#834) * Remove bat-go dialer * Fix dependency naming * Make log level configurable * Add Integration Tests (#816) * Add Integration Tests - Kafka token issuance - Kafka token redemption - V1 HTTP Issuer GET endpoint - V1 HTTP Token Redemption POST endpoint - V3 HTTP Token Redemption POST endpoint This checks the entire token redemption flow for all known production use cases as well as checks that duplicate redemtion fails. There are some cases with time limited issuers where a token is issued for a future issuer whose redemption fails. These tokens are tested and verified to fail as expected. * Tidy * Correct test name * Correct README * Rename integration test file * Address simple PR feedback * Remove unneeded type * Integration testing pr feedback (#827) Address PR comments regarding testing structure. * Enable specifying an integration test * Address feedback * Adjust import order * Alter error handling for dynamo change * Add suggested change * Remove dependency (#819) * Add MSK TLS v1.2 to Kafka dialer (#826) Co-authored-by: Jackson <[email protected]> * Fix prod branch naming (#829) * Fix metrics registration failure after panic (#830) --------- Co-authored-by: Harold Spencer Jr. <[email protected]> --------- Co-authored-by: husobee <[email protected]> Co-authored-by: eV <[email protected]> Co-authored-by: Ian Krieger <[email protected]> Co-authored-by: Harold Spencer Jr. <[email protected]> * Remove extra UUID package from dependencies (#821) * Add alert implementation and simple test on init --------- Co-authored-by: husobee <[email protected]> Co-authored-by: eV <[email protected]> Co-authored-by: Ian Krieger <[email protected]> Co-authored-by: Harold Spencer Jr. <[email protected]>
* Fix metrics registration failure after panic (#830) * Align Prod and Master (#836) * Release Simple Dependency Removal (#828) * Remove bat-go dialer * Fix dependency naming * Make log level configurable * Add Integration Tests (#816) * Add Integration Tests - Kafka token issuance - Kafka token redemption - V1 HTTP Issuer GET endpoint - V1 HTTP Token Redemption POST endpoint - V3 HTTP Token Redemption POST endpoint This checks the entire token redemption flow for all known production use cases as well as checks that duplicate redemtion fails. There are some cases with time limited issuers where a token is issued for a future issuer whose redemption fails. These tokens are tested and verified to fail as expected. * Tidy * Correct test name * Correct README * Rename integration test file * Address simple PR feedback * Remove unneeded type * Integration testing pr feedback (#827) Address PR comments regarding testing structure. * Enable specifying an integration test * Address feedback * Adjust import order * Alter error handling for dynamo change * Add suggested change * Remove dependency (#819) * Add MSK TLS v1.2 to Kafka dialer (#826) Co-authored-by: Jackson <[email protected]> * Fix prod branch naming (#829) --------- Co-authored-by: Harold Spencer Jr. <[email protected]> * Release 2025-09-19 (#834) * Remove bat-go dialer * Fix dependency naming * Make log level configurable * Add Integration Tests (#816) * Add Integration Tests - Kafka token issuance - Kafka token redemption - V1 HTTP Issuer GET endpoint - V1 HTTP Token Redemption POST endpoint - V3 HTTP Token Redemption POST endpoint This checks the entire token redemption flow for all known production use cases as well as checks that duplicate redemtion fails. There are some cases with time limited issuers where a token is issued for a future issuer whose redemption fails. These tokens are tested and verified to fail as expected. * Tidy * Correct test name * Correct README * Rename integration test file * Address simple PR feedback * Remove unneeded type * Integration testing pr feedback (#827) Address PR comments regarding testing structure. * Enable specifying an integration test * Address feedback * Adjust import order * Alter error handling for dynamo change * Add suggested change * Remove dependency (#819) * Add MSK TLS v1.2 to Kafka dialer (#826) Co-authored-by: Jackson <[email protected]> * Fix prod branch naming (#829) * Fix metrics registration failure after panic (#830) --------- Co-authored-by: Harold Spencer Jr. <[email protected]> --------- Co-authored-by: husobee <[email protected]> Co-authored-by: eV <[email protected]> Co-authored-by: Ian Krieger <[email protected]> Co-authored-by: Harold Spencer Jr. <[email protected]> * Remove extra UUID package from dependencies (#821) * Improve pool management (#840) * Improve pool management * Update comments and skip lint defer expectation in loop * Adjust error handling --------- Co-authored-by: husobee <[email protected]> Co-authored-by: eV <[email protected]> Co-authored-by: Ian Krieger <[email protected]> Co-authored-by: Harold Spencer Jr. <[email protected]>
* Align Prod and Master (#836) * Release Simple Dependency Removal (#828) * Remove bat-go dialer * Fix dependency naming * Make log level configurable * Add Integration Tests (#816) * Add Integration Tests - Kafka token issuance - Kafka token redemption - V1 HTTP Issuer GET endpoint - V1 HTTP Token Redemption POST endpoint - V3 HTTP Token Redemption POST endpoint This checks the entire token redemption flow for all known production use cases as well as checks that duplicate redemtion fails. There are some cases with time limited issuers where a token is issued for a future issuer whose redemption fails. These tokens are tested and verified to fail as expected. * Tidy * Correct test name * Correct README * Rename integration test file * Address simple PR feedback * Remove unneeded type * Integration testing pr feedback (#827) Address PR comments regarding testing structure. * Enable specifying an integration test * Address feedback * Adjust import order * Alter error handling for dynamo change * Add suggested change * Remove dependency (#819) * Add MSK TLS v1.2 to Kafka dialer (#826) Co-authored-by: Jackson <[email protected]> * Fix prod branch naming (#829) --------- Co-authored-by: Harold Spencer Jr. <[email protected]> * Release 2025-09-19 (#834) * Remove bat-go dialer * Fix dependency naming * Make log level configurable * Add Integration Tests (#816) * Add Integration Tests - Kafka token issuance - Kafka token redemption - V1 HTTP Issuer GET endpoint - V1 HTTP Token Redemption POST endpoint - V3 HTTP Token Redemption POST endpoint This checks the entire token redemption flow for all known production use cases as well as checks that duplicate redemtion fails. There are some cases with time limited issuers where a token is issued for a future issuer whose redemption fails. These tokens are tested and verified to fail as expected. * Tidy * Correct test name * Correct README * Rename integration test file * Address simple PR feedback * Remove unneeded type * Integration testing pr feedback (#827) Address PR comments regarding testing structure. * Enable specifying an integration test * Address feedback * Adjust import order * Alter error handling for dynamo change * Add suggested change * Remove dependency (#819) * Add MSK TLS v1.2 to Kafka dialer (#826) Co-authored-by: Jackson <[email protected]> * Fix prod branch naming (#829) * Fix metrics registration failure after panic (#830) --------- Co-authored-by: Harold Spencer Jr. <[email protected]> --------- Co-authored-by: husobee <[email protected]> Co-authored-by: eV <[email protected]> Co-authored-by: Ian Krieger <[email protected]> Co-authored-by: Harold Spencer Jr. <[email protected]> * Remove extra UUID package from dependencies (#821) * Improve pool management (#840) * Improve pool management * Update comments and skip lint defer expectation in loop * Adjust error handling --------- Co-authored-by: husobee <[email protected]> Co-authored-by: eV <[email protected]> Co-authored-by: Ian Krieger <[email protected]> Co-authored-by: Harold Spencer Jr. <[email protected]>
* Fix metrics registration failure after panic (#830) * Align Prod and Master (#836) * Release Simple Dependency Removal (#828) * Remove bat-go dialer * Fix dependency naming * Make log level configurable * Add Integration Tests (#816) * Add Integration Tests - Kafka token issuance - Kafka token redemption - V1 HTTP Issuer GET endpoint - V1 HTTP Token Redemption POST endpoint - V3 HTTP Token Redemption POST endpoint This checks the entire token redemption flow for all known production use cases as well as checks that duplicate redemtion fails. There are some cases with time limited issuers where a token is issued for a future issuer whose redemption fails. These tokens are tested and verified to fail as expected. * Tidy * Correct test name * Correct README * Rename integration test file * Address simple PR feedback * Remove unneeded type * Integration testing pr feedback (#827) Address PR comments regarding testing structure. * Enable specifying an integration test * Address feedback * Adjust import order * Alter error handling for dynamo change * Add suggested change * Remove dependency (#819) * Add MSK TLS v1.2 to Kafka dialer (#826) Co-authored-by: Jackson <[email protected]> * Fix prod branch naming (#829) --------- Co-authored-by: Harold Spencer Jr. <[email protected]> * Release 2025-09-19 (#834) * Remove bat-go dialer * Fix dependency naming * Make log level configurable * Add Integration Tests (#816) * Add Integration Tests - Kafka token issuance - Kafka token redemption - V1 HTTP Issuer GET endpoint - V1 HTTP Token Redemption POST endpoint - V3 HTTP Token Redemption POST endpoint This checks the entire token redemption flow for all known production use cases as well as checks that duplicate redemtion fails. There are some cases with time limited issuers where a token is issued for a future issuer whose redemption fails. These tokens are tested and verified to fail as expected. * Tidy * Correct test name * Correct README * Rename integration test file * Address simple PR feedback * Remove unneeded type * Integration testing pr feedback (#827) Address PR comments regarding testing structure. * Enable specifying an integration test * Address feedback * Adjust import order * Alter error handling for dynamo change * Add suggested change * Remove dependency (#819) * Add MSK TLS v1.2 to Kafka dialer (#826) Co-authored-by: Jackson <[email protected]> * Fix prod branch naming (#829) * Fix metrics registration failure after panic (#830) --------- Co-authored-by: Harold Spencer Jr. <[email protected]> --------- Co-authored-by: husobee <[email protected]> Co-authored-by: eV <[email protected]> Co-authored-by: Ian Krieger <[email protected]> Co-authored-by: Harold Spencer Jr. <[email protected]> * Remove extra UUID package from dependencies (#821) * Add alert implementation and simple test on init --------- Co-authored-by: husobee <[email protected]> Co-authored-by: eV <[email protected]> Co-authored-by: Ian Krieger <[email protected]> Co-authored-by: Harold Spencer Jr. <[email protected]>
This checks the entire token redemption flow for all known production
use cases as well as checks that duplicate redemtion fails. There are
some cases with time limited issuers where a token is issued for a
future issuer whose redemption fails. These tokens are tested and
verified to fail as expected.