Skip to content

Fix Undefined baseUrl and origin in API Service Test #480

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Shweta-281
Copy link

@Shweta-281 Shweta-281 commented Apr 8, 2025

Description

This PR resolves compilation errors in api_service_test.dart by defining the missing baseUrl and origin constants. These changes ensure the test suite runs successfully and paves the way for future configuration improvements.

Fixes #479

Changes

  • Added baseUrl and origin constants to api_service_test.dart.
  • Updated the fetchTasks test to use the new constants.

Testing

  • Verified that tests pass locally.
  • Confirmed no regressions in API interaction logic.

Notes

Checklist

  • Tests have been added or updated to cover the changes
  • Documentation has been updated to reflect the changes
  • Code follows the established coding style guidelines
  • All tests are passing

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.

Bug: Undefined baseUrl and origin Constants in API Service Test
1 participant