Skip to content
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

Refactor tests #344

Merged
merged 1 commit into from
Oct 3, 2023
Merged

Refactor tests #344

merged 1 commit into from
Oct 3, 2023

Conversation

norkunas
Copy link
Member

@norkunas norkunas commented Oct 2, 2023

  • Drop dependency on OrmTestCase and instead use DoctrineBundle for setting orm automatically instead of manually;
  • Use MockHttpClient from symfony/http-client instead of making real http calls in tests Use mock Client from php-http/mock-client;
  • Merge CI's phpunit jobs into single one;
  • Separate inlined fixtures in tests to separate classes;

@norkunas norkunas requested a review from Nyholm October 2, 2023 10:05
@norkunas norkunas force-pushed the refactor-tests branch 12 times, most recently from 052901e to d9d728c Compare October 2, 2023 12:10
- Drop dependency on `OrmTestCase` and instead use `DoctrineBundle` for setting orm automatically instead of manually;
- ~~Use MockHttpClient from symfony/http-client instead of making real http calls in tests~~ Use mock Client from php-http/mock-client;
- Merge CI's phpunit jobs into single one;
- Separate inlined fixtures in tests to separate classes;
Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!
Thank you

@Nyholm Nyholm merged commit 608f883 into geocoder-php:master Oct 3, 2023
8 checks passed
@norkunas norkunas deleted the refactor-tests branch October 3, 2023 04:21
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.

2 participants