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

Fix failing tests due to company post no longer existing #25

Merged
merged 6 commits into from
May 1, 2021

Conversation

bensherred
Copy link
Collaborator

@bensherred bensherred commented Apr 27, 2021

I've mentioned this to @ShawnCZek in DM previously, but we shouldn't be calling the API during the tests. Instead, we should mock the response and then test the logic of the API Client. However, this PR fixes the failing tests. It looks like the company post no longer exists (another reason why we shouldn't be calling the API during the tests).

P.S. I've also had to bump the minimum PHP version to 7.3. Personally, I think this is fine due to PHP 7.2 no longer being maintained.

@bensherred bensherred marked this pull request as draft April 27, 2021 21:56
@bensherred bensherred marked this pull request as ready for review April 27, 2021 22:10
@ShawnCZek ShawnCZek self-assigned this Apr 27, 2021
@ShawnCZek
Copy link
Member

As discussed in DM's, the StyleCI changes were done because they became risky.

@bensherred bensherred merged commit b603386 into develop May 1, 2021
@bensherred bensherred deleted the bug/fix-failing-tests branch May 1, 2021 10:07
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