Comments (3)
Hello, thank you :)
I am using PHPStorm 2020.1 too on a Linux machine and it works both for localhost
and 127.0.0.1
. The run configuration shared I am using to test it inside the PHPStorm platform is:
I don't remember why I am not using localhost
but probably it is related to the Travis CI .
Please double check your configuration just to make sure nothing is wrong there. If is really necessary change to localhost, once you open a PR, the Travis platform will start the build and you can check if it is working fine. If is, It will be my pleasure integrate it to the code.
And remember to add the proper unit tests to the new cases you are adding :)
from php-swagger-test.
I did not change anything and the settings are same as you provided.
Event I can open localhost:8081 in browser or use curl localhost
but tests fails in PHP (using local MacOS PHP interpreter - 7.3).
from php-swagger-test.
The problem is that in Mac the 127.0.0.1 is not binding when you provide localhost in PHP configuration. The swagger uses 127.0.0.1 but PHP run uses localhost :)
from php-swagger-test.
Related Issues (20)
- issue while consuming json HOT 3
- Referenced parameters compatibility HOT 4
- SwaggerTestCase->assertRequest locked onto specific to that test schema HOT 4
- Variables in servers object HOT 3
- ByJG\ApiTools\Exception\GenericSwaggerException: Not all cases are defined. HOT 10
- Not supported PHPUnit 8.5 HOT 7
- nullable value matching HOT 2
- Typo: getDefintion should be getDefinition HOT 5
- Error matching ResponseBody without 'content' HOT 9
- Library does not support 'oneOf', 'anyOf', 'allOf' and 'not' HOT 24
- Referencing to components in external JSON files is missing HOT 1
- Library as trait(s) instead of inheritance class HOT 3
- Splitting out the request/response validation from the actual request
- Responses using ref aren't supported
- PHP 8 Compatibility HOT 5
- Guidance on setting up basic functional tests
- Add label #hacktoberfest to project HOT 3
- PHP 8.1 deprecation warning HOT 5
- Nullable does not work with 'oneOf'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-swagger-test.