Skip to content

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 requested review from ShawnCZek and cjmaxik April 27, 2021 21:51
@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
@bensherred bensherred requested review from ShawnCZek and cjmaxik 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