Skip to content

Commit 56ec401

Browse files
committed
Fixed windows style filesystem paths for unit test commands
1 parent 4ae88f8 commit 56ec401

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
"remorhaz/php-json-patch": "^0.6.1"
2727
},
2828
"scripts": {
29-
"blancks/fast-jsonpatch-php": "phpunit --no-configuration --test-suffix Blancks_fast_jsonpatchTest.php .\\tests",
30-
"remorhaz/php-json-patch": "phpunit --no-configuration --test-suffix Remorhaz_php_json_patchTest.php .\\tests",
31-
"mikemccabe/json-patch-php": "phpunit --no-configuration --test-suffix Mikemccabe_json_patch_phpTest.php .\\tests",
32-
"php-jsonpatch/php-jsonpatch": "phpunit --no-configuration --test-suffix Php_jsonpatch_php_jsonpatchTest.php .\\tests",
33-
"xp-forge/json-patch": "phpunit --no-configuration --test-suffix Xp_forge_json_patchTest.php .\\tests",
34-
"gamringer/php-json-patch": "phpunit --no-configuration --test-suffix Gamringer_php_json_patchTest.php .\\tests",
35-
"swaggest/json-diff": "phpunit --no-configuration --test-suffix Swaggest_json_diffTest.php .\\tests"
29+
"blancks/fast-jsonpatch-php": "phpunit --no-configuration --test-suffix Blancks_fast_jsonpatchTest.php ./tests",
30+
"remorhaz/php-json-patch": "phpunit --no-configuration --test-suffix Remorhaz_php_json_patchTest.php ./tests",
31+
"mikemccabe/json-patch-php": "phpunit --no-configuration --test-suffix Mikemccabe_json_patch_phpTest.php ./tests",
32+
"php-jsonpatch/php-jsonpatch": "phpunit --no-configuration --test-suffix Php_jsonpatch_php_jsonpatchTest.php ./tests",
33+
"xp-forge/json-patch": "phpunit --no-configuration --test-suffix Xp_forge_json_patchTest.php ./tests",
34+
"gamringer/php-json-patch": "phpunit --no-configuration --test-suffix Gamringer_php_json_patchTest.php ./tests",
35+
"swaggest/json-diff": "phpunit --no-configuration --test-suffix Swaggest_json_diffTest.php ./tests"
3636
}
3737
}

src/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@
3434
* CLI instruction to run automated tests
3535
* the %s value will be replaced with the library name
3636
*/
37-
const PHPUNIT_TEST_CMD = 'php ./vendor/phpunit/phpunit/phpunit --no-configuration --test-suffix %sTest.php .\tests';
37+
const PHPUNIT_TEST_CMD = 'php ./vendor/phpunit/phpunit/phpunit --no-configuration --test-suffix %sTest.php ./tests';
3838

3939
// eof

0 commit comments

Comments
 (0)