thephpleague / oauth2-client

Easy integration with OAuth 2.0 service providers.
http://oauth2-client.thephpleague.com
MIT License
3.63k stars 751 forks source link

Fix tests by returning array from PSR7's ResponseInterface::getHeader() #1026

Open KorvinSzanto opened 5 months ago

KorvinSzanto commented 5 months ago

PSR-7's ResponseInterface returns an array from getHeader and not a string. This PR updates tests to return an array as well.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2455200) 100.00% compared to head (caade89) 100.00%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/thephpleague/oauth2-client/pull/1026/graphs/tree.svg?width=650&height=150&src=pr&token=JU3NWcb3Sz&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=thephpleague)](https://app.codecov.io/gh/thephpleague/oauth2-client/pull/1026?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=thephpleague) ```diff @@ Coverage Diff @@ ## master #1026 +/- ## =========================================== Coverage 100.00% 100.00% Complexity 191 191 =========================================== Files 20 20 Lines 516 516 =========================================== Hits 516 516 ```