Skip to content

Nyholm missing integration tests #50

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

Closed
wants to merge 2 commits into from
Closed

Nyholm missing integration tests #50

wants to merge 2 commits into from

Conversation

f-pisani
Copy link

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets -
Documentation -
License MIT

What's in this PR?

The PR include integration tests for nyholm/psr7 implementation.

Why?

The following command fails under PHPUnit 9.5.4, PHP 8.0.3 :

$ composer test
...
> Test directory "/mnt/d/psr7-integration-tests/./vendor/nyholm/psr7/tests/Integration/" not found

php-http/psr7-integration-tests came out-of-the-box with some implementations, I think it should also include Nyholm integration with it, since "vendor/nyholm/psr7/tests" doesn't exists.

@dbu dbu requested a review from Nyholm May 31, 2021 06:07
@boesing
Copy link
Contributor

boesing commented Mar 29, 2023

In case this package does execute integration tests for known PSR-7 implementation, this should be merged.
Nyholm/psr7#210

@dbu
Copy link
Contributor

dbu commented Apr 2, 2023

looks like this used to build with travis-ci but thats now defunct. i have now started fixing the ci setup in #62.

nyholm uses these integration tests to test itself, and provides the adapter in its own repository. but becaues of its .gitattributes the files do not become available when installing the "dist" package. i change the setup in #62 to install the source of the package in question (among other improvements)

@dbu dbu closed this Apr 2, 2023
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.

3 participants