Skip to content

Commit 69f6f85

Browse files
committed
Added failing test for #164
1 parent 020d72b commit 69f6f85

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fix-style: php-cs-fixer.phar
3737
$(DOCKER_PHP) vendor/bin/indent --spaces .php_cs.dist
3838
$(DOCKER_PHP) ./php-cs-fixer.phar fix src/ --diff
3939

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

tests/ReferenceContextTest.php

+8
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,14 @@ public function normalizeUriProvider()
179179
'/var/www/api/../definitions.yaml',
180180
'file:///var/www/definitions.yaml',
181181
],
182+
[
183+
'/var/www/api/schema/../../definitions.yaml',
184+
'file:///var/www/definitions.yaml',
185+
],
186+
[
187+
'/var/www/api/schema/./../definitions.yaml',
188+
'file:///var/www/api/definitions.yaml',
189+
],
182190
[
183191
'/var/www/api/../definitions.yaml#/components/Pet',
184192
'file:///var/www/definitions.yaml#/components/Pet',

0 commit comments

Comments
 (0)