Skip to content

Commit

Permalink
Added failing test for #164
Browse files Browse the repository at this point in the history
  • Loading branch information
cebe committed Jul 22, 2022
1 parent 020d72b commit 69f6f85
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fix-style: php-cs-fixer.phar
$(DOCKER_PHP) vendor/bin/indent --spaces .php_cs.dist
$(DOCKER_PHP) ./php-cs-fixer.phar fix src/ --diff

install: composer.lock yarn.lock
install: composer.json package.json
$(DOCKER_PHP) composer install --prefer-dist --no-interaction --no-progress --ansi
$(DOCKER_NODE) yarn install

Expand Down
8 changes: 8 additions & 0 deletions tests/ReferenceContextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,14 @@ public function normalizeUriProvider()
'/var/www/api/../definitions.yaml',
'file:///var/www/definitions.yaml',
],
[
'/var/www/api/schema/../../definitions.yaml',
'file:///var/www/definitions.yaml',
],
[
'/var/www/api/schema/./../definitions.yaml',
'file:///var/www/api/definitions.yaml',
],
[
'/var/www/api/../definitions.yaml#/components/Pet',
'file:///var/www/definitions.yaml#/components/Pet',
Expand Down

0 comments on commit 69f6f85

Please sign in to comment.